]
@parent_element.css backgroundColor: "##{@palette[0]}", color: "##{@palette[7]}"
+ @redraw()
color_to_css: (i) ->
# handle inverse bit
return $('<span style="'+css+'"></span>').text(txt)
redraw_now: ->
- console.log('redraw_now')
@parent_element.empty()
# cursor can be just off the right side, but we draw it on the last column in that case
if @term.x >= @term.width
# limit to 50fps
redraw: ->
- console.log('redraw')
if (@redraw_wait)
@redraw_again = true
else