summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ansi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ansi.c b/src/ansi.c
index b8002e2..5f28346 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -1375,6 +1375,9 @@ int c, intermediate;
break;
case 3: /* COLM: column mode */
i = (i ? Z0width : Z1width);
+ ClearScreen();
+ curr->w_x = 0;
+ curr->w_y = 0;
WChangeSize(curr, i, curr->w_height);
cols = curr->w_width;
rows = curr->w_height;