Fix current line display, automatic formatting fixes
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good

This commit is contained in:
Timothy Warren 2021-04-01 16:47:32 -04:00
parent 818b8cf6bf
commit 1a4f6809fb
8 changed files with 21 additions and 21 deletions

View File

@ -126,7 +126,7 @@ func (e *editor) drawStatusBar(ab *buffer) {
return
}
rightStatus := fmt.Sprintf("%d/%d", e.cursor.y, e.document.rowCount())
rightStatus := fmt.Sprintf("%d/%d", e.cursor.y+1, e.document.rowCount())
rlength := len(rightStatus)
statusLength := length + rlength