1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 07:38:06 -05:00

DECCOLM should clear the screen and home the cursor, so it does now.

Correct interactions with DECOM and DECSTBM not investigated.
Should fix bug "deccolm-cls", but I'll leave it open till I've checked the
interactions.

[originally from svn r3001]
This commit is contained in:
Ben Harris 2003-03-26 21:14:39 +00:00
parent c8c17d2cef
commit 94ecb07b60

View File

@ -1181,6 +1181,10 @@ static void toggle_mode(Terminal *term, int mode, int query, int state)
if (!term->cfg.no_remote_resize)
request_resize(term->frontend, state ? 132 : 80, term->rows);
term->reset_132 = state;
erase_lots(term, FALSE, TRUE, TRUE);
/* XXX Interaction with DECOM? DECSTBM? */
move(term, 0, 0, 0);
term->seen_disp_event = 1;
break;
case 5: /* reverse video */
/*