From f98881c2a5954799212ae89965f0886b7c2ad217 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Wed, 30 Jan 2013 23:21:42 -0500 Subject: [PATCH] make csi_K (clear characters) inclusive always --- terminal.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.coffee b/terminal.coffee index abc006a..3c8c9a9 100644 --- a/terminal.coffee +++ b/terminal.coffee @@ -161,7 +161,7 @@ class Terminal @text[@y][i] = ' ' @attributes[@y][i] = @a when '1' # erase to left - for i in [0...@x] + for i in [0..@x] @text[@y][i] = ' ' @attributes[@y][i] = @a when '2' # erase whole line -- 1.7.10.4