Don't display cursor when it's invisible... obviously

openid
Marcin Kulik 11 years ago
parent e15828b56a
commit 5c80bf21f1

@ -40,7 +40,7 @@ class AsciiIo.Renderer.Base extends Backbone.View
if @dirty if @dirty
for n, fragments of @changes for n, fragments of @changes
c = if parseInt(n) is @cursor.y then @cursor.x else undefined c = if @cursor.visible && (parseInt(n) is @cursor.y) then @cursor.x else undefined
@renderLine n, fragments || [], c @renderLine n, fragments || [], c
@clearChanges() @clearChanges()

Loading…
Cancel
Save