Fix _cursorRight when on right edge of screen

openid
Marcin Kulik 13 years ago
parent ee6298d515
commit a0482edb14

@ -462,7 +462,7 @@ class AsciiIo.VT
@updateLine()
_cursorRight: ->
if @cursorX < @cols
if @cursorX < @cols - 1
@cursorX += 1
@updateLine()

Loading…
Cancel
Save