summaryrefslogtreecommitdiffstats
path: root/screen.c
AgeCommit message (Collapse)Author
2009-07-17When resizing a screen smaller in alternate screen mode, all the lines neededNicholas Marriott
could be consumed by deleting from the bottom, leaving none to be removed from the top. In this case, don't call grid_view_delete_lines with ny of 0 as this is incorrect and causes a bounds check to fatal error if built with -DDEBUG.
2009-07-13Support "alternate screen" mode (terminfo smcup/rmcup) typically used by fullNicholas Marriott
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.
2009-07-09When the terminal size is reduced horizontally, don't truncate lines to the newNicholas Marriott
width, so that if the same lines are later increased in size the content reappears.
2009-07-08When reinitialising the screen, do not omit to clear the last line.Nicholas Marriott
2009-06-24Fix a type mismatch warning in assignment.Nicholas Marriott
2009-06-24Change to match xterm's resizing behaviour, including pushing lines into theNicholas Marriott
history from the top when reducing vertical size and pulling them again when increasing size. ok todd sthen
2009-06-04Proper support for tab stops (\033H etc), using a bitstring(3). Makes anotherNicholas Marriott
vttest test happy.
2009-06-03Pass window titles through vis(1). <0x20 is dropped anyway by the input stateNicholas Marriott
machine but top-bit-set nonprintables could cause trouble, and they are neater like this anyway. Suggested by deraadt a few days ago.
2009-06-01Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti