From 39f62411c552700fd78c8f457f6e84dd2fdd8c8d Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Wed, 10 Apr 2013 08:32:56 -0400 Subject: [PATCH] htmlterm: redraw on init --- htmlterm.coffee | 3 +-- server.coffee | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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 diff --git a/server.coffee b/server.coffee index 5a20e97..2d008a5 100644 --- a/server.coffee +++ b/server.coffee @@ -1,5 +1,5 @@ # SETTINGS -term_lines = 32 +term_lines = 34 term_columns = 104 http_port = 2218 -- 1.7.10.4