Fix current line display, automatic formatting fixes
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
This commit is contained in:
parent
818b8cf6bf
commit
1a4f6809fb
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user