remove hidden cursor movement

Related #22 and #381
This commit is contained in:
Gokcehan committed 2020-07-04 01:21:07 +03:00
1 parent 1119ba0d25
commit c937dab9e9
3 files changed
-14

No files matched your search

-5
View File
@@ -746,11 +746,6 @@ func (ui *ui) draw(nav *nav) {
}
termbox.Flush()
if ui.cmdPrefix == "" {
// leave the cursor at the beginning of the current file for screen readers
moveCursor(ui.wins[woff+length-1].y+nav.dirs[doff+length-1].pos+1, ui.wins[woff+length-1].x+1)
}
}
func findBinds(keys map[string]expr, prefix string) (binds map[string]expr, ok bool) {