1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Richard B's patch to push erased text into the scrollback on ESC[2J

clears, and also to temporarily push the primary screen contents
into the scrollback while the alternate screen is active and bring
it back afterwards.

[originally from svn r2910]
This commit is contained in:
Simon Tatham
2003-03-06 12:51:12 +00:00
parent 8228cd2d72
commit c5181dc498
7 changed files with 107 additions and 24 deletions

View File

@ -118,6 +118,7 @@ struct terminal_tag {
int alt_cset, alt_sco_acs, alt_utf;
int alt_t, alt_b;
int alt_which;
int alt_sblines; /* # of lines on alternate screen that should be used for scrollback. */
#define ARGS_MAX 32 /* max # of esc sequence arguments */
#define ARG_DEFAULT 0 /* if an arg isn't specified */