X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=new2%2Frogue_chat_nocanvas_monochrome.html;h=32a3781161f622a21d09c574843f75378454b2e2;hb=8c88fd160e5401f659b0b74386a127248c6ad8f4;hp=14668eaa6c015e1b3e5c483c16600f007d53c63d;hpb=8a8eb0967bcffcb934a37ecc5846f007268a0dc8;p=plomrogue2-experiments diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index 14668ea..32a3781 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -234,10 +234,8 @@ let tui = { this.height_input = this.input_lines.length; }, shorten_input: function() { - if (this.input.length > 2) { - this.input = tui.input.slice(0, -1); - this.recalc_input_lines(); - } + this.input = tui.input.slice(0, -1); + this.recalc_input_lines(); }, draw_input: function() { terminal.drawBox(terminal.rows - this.height_input, this.window_width, this.height_input, this.window_width);