X-Git-Url: https://jasonwoof.com/gitweb/?p=watch-my-terminal.git;a=blobdiff_plain;f=htmlterm.coffee;h=fd4ad55102e08e27599e1451a2483716b5669724;hp=829f7578f3dde9e6e2b7d1c428ef271d881dc566;hb=39f62411c552700fd78c8f457f6e84dd2fdd8c8d;hpb=9c8a049528fc2d75883a76581635335ed98956a6 diff --git a/htmlterm.coffee b/htmlterm.coffee index 829f757..fd4ad55 100644 --- a/htmlterm.coffee +++ b/htmlterm.coffee @@ -60,6 +60,7 @@ class HTMLTerminal ] @parent_element.css backgroundColor: "##{@palette[0]}", color: "##{@palette[7]}" + @redraw() color_to_css: (i) -> # handle inverse bit @@ -90,7 +91,6 @@ class HTMLTerminal return $('').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 @@ -119,7 +119,6 @@ class HTMLTerminal # limit to 50fps redraw: -> - console.log('redraw') if (@redraw_wait) @redraw_again = true else