Fixed CTRL+E binding.
h3rald h3rald@h3rald.com
Fri, 07 Oct 2016 16:41:22 +0200
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
core/linedit.nim
→
core/linedit.nim
@@ -223,7 +223,8 @@ stdout.cursorBackward(ed.line.position)
ed.line.position = 0 proc goToEnd*(ed: var LineEditor) = - stdout.cursorForward(ed.line.text.len) + let diff = ed.line.text.len - ed.line.position + stdout.cursorForward(diff) ed.line.position = ed.line.text.len proc historyInit*(size = 256, historyFile: string = nil): LineHistory =