summaryrefslogtreecommitdiffstats
path: root/tty.c
AgeCommit message (Collapse)Author
2009-07-10Don't send initialisation strings is1/2/3 (barely anything else does) and moveNicholas Marriott
smcup to the first and rmcup to the last sequences output to the terminal. This allows tmux to use the alternate screen (smcup/rmcup) when available.
2009-07-07Handle empty or unset TERM correctly; also fix a fatal() message while here.Nicholas Marriott
2009-06-27Copy the 256-colour flag into the tty saved cell as well as the actual colour,Nicholas Marriott
otherwise colour 8 isn't reset properly.
2009-06-25Miscellaneous unused functions, including one which was basically aNicholas Marriott
duplicate. Found by lint.
2009-06-25Unused variables. Found by lint, no binary change.Nicholas Marriott
2009-06-24Trying to predict the cursor position for UTF-8 output in the same way as forNicholas Marriott
normal eight-bit output is wrong, separate it into a different function. Fixes spacing when mixing UTF-8 with some escape sequences, notably the way w3m does it.
2009-06-03Implement the DEC alignment test. With the last change this is enough for theNicholas Marriott
first cursor test in vttest (in ports) to pass; it still shops a few more problems though.
2009-06-03Fix some miscalculations when clearing to start of screen: the number of linesNicholas Marriott
to the cursor is cy not cy - 1, and the current cursor cell should be included.
2009-06-02Recent code to try and detect if a terminal supports UTF-8 by printing to itNicholas Marriott
fails spectacularly on (at least) sparc64, so disable it for now. Thanks to naddy and Josh Elsasser for help and testing.
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