Fix backspace (0x8)

openid
Marcin Kulik 13 years ago
parent 0a09075b6f
commit 24e781b457

@ -189,8 +189,7 @@ class AsciiIo.Terminal
bs: -> bs: ->
if @cursorX > 0 if @cursorX > 0
@getLine()[@cursorX - 1] = " " @cursorLeft()
@cursorX -= 1
@updateLine() @updateLine()
print: (text) -> print: (text) ->

Loading…
Cancel
Save