Fixed clearLine
Fabio Cevasco h3rald@h3rald.com
Sat, 25 Mar 2017 11:20:13 +0100
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
nimline.nim
→
nimline.nim
@@ -216,7 +216,8 @@ stdout.cursorBackward(ed.line.position+1)
for i in ed.line.text: putchar(32) putchar(32) - stdout.cursorBackward(ed.line.text.len) + putchar(32) + stdout.cursorBackward(ed.line.text.len+1) ed.line.position = 0 ed.line.text = ""