commit | 359285928b63605a130990699c33c8af42be9fd2 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Mon Jul 13 10:43:52 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Mon Jul 13 10:43:52 2009 +0000 |
tree | d41c53755083b3527066a65d7d5542141bd045e2 | |
parent | 0b788a3d61994e5a7a98e36d104c130dcbb5e0c9 [diff] |
Support "alternate screen" mode (terminfo smcup/rmcup) typically used by full screen interactive programs to preserve the screen contents. When activated, it saves a copy of the visible grid and disables scrolling into and resizing out of the history; when deactivated the visible data is restored and the history reenabled.