diff options
author | Sadrul Habib Chowdhury <sadrul@users.sourceforge.net> | 2010-04-01 15:25:03 -0400 |
---|---|---|
committer | Sadrul Habib Chowdhury <sadrul@users.sourceforge.net> | 2010-04-01 15:25:03 -0400 |
commit | 869278e490913531a98602b8bec5cc08831aa46d (patch) | |
tree | 2e3c802ce9ac51e5c7a29389fed2c7b34b64f6dc /src/ansi.c | |
parent | 7ec27de25cc83b2189965584352edb660da00338 (diff) | |
parent | a881bb274ae2d3c4027ae61e1707576bc8d35cab (diff) | |
download | screen-869278e490913531a98602b8bec5cc08831aa46d.tar.gz |
Merge branch 'master' into unicode++
Diffstat (limited to 'src/ansi.c')
-rw-r--r-- | src/ansi.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -81,10 +81,10 @@ struct mchar mchar_null; struct mchar mchar_blank = {' ' /* , 0, 0, ... */}; struct mchar mchar_so = {' ', A_SO /* , 0, 0, ... */}; -int renditions[NUM_RENDS] = {65529 /* =ub */, 65531 /* =b */}; +int renditions[NUM_RENDS] = {65529 /* =ub */, 65531 /* =b */, 65533 /* =u */ }; /* keep string_t and string_t_string in sync! */ -static char *string_t_string[] = +static char *string_t_string[] = { "NONE", "DCS", /* Device control string */ @@ -943,6 +943,7 @@ register int c; case '\n': if (curr->w_autoaka) FindAKA(); + case '\013': /* Vertical tab is the same as Line Feed */ LineFeed(0); return 1; case '\007': @@ -1377,6 +1378,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; |