JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
make csi_K (clear characters) inclusive always
[watch-my-terminal.git] / terminal.coffee
index abc006a..3c8c9a9 100644 (file)
@@ -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