summaryrefslogtreecommitdiffstats
path: root/tty.c
AgeCommit message (Expand)Author
2009-10-28Add a minor optimisatin: if the character being printed is space, don't worryNicholas Marriott
2009-10-28Twaek this slightly to avoid confusing use of flags variable.Nicholas Marriott
2009-10-28Setting SGR0 when setting the fg and bg has problems if only one of the two isNicholas Marriott
2009-10-26tabs are better; ok nicmTheo Deraadt
2009-10-25Remove the -d flag to tmux and just use op/AX to detect default colours.Nicholas Marriott
2009-10-21Unused variable.Nicholas Marriott
2009-10-21Now we are correctly not redrawing the whole pane on linefeed, redo theNicholas Marriott
2009-10-21Don't redraw the scroll region on linefeed/reverse index unless it is necessaryNicholas Marriott
2009-10-21Some terminals don't correctly clear their let's-wrap flag after changing theNicholas Marriott
2009-10-20Try to reduce the UTF-8 mess.Nicholas Marriott
2009-10-20UTF-8 combined character fixes.Nicholas Marriott
2009-10-20Move the check for whether to force a line wrapper lower down into the tty codeNicholas Marriott
2009-10-17Always move the cursor position on !xenl terminals, since there is no invisibleNicholas Marriott
2009-10-17Instead of having a complicated check to see if the cursor is in the lastNicholas Marriott
2009-10-16When checking whether the region will scroll and the cursor position is thusNicholas Marriott
2009-10-13Don't try to use \n across scroll region when doing \r\n either.Nicholas Marriott
2009-10-13Instead of using something sort of similar for both newline checks, useNicholas Marriott
2009-10-12When drawing lines that have wrapped naturally, don't force a newline butNicholas Marriott
2009-10-12Don't run through the column unchanged case if the row was unchanged but thereNicholas Marriott
2009-10-12If the vertical cursor movement crosses the scroll region, CUU and CUDNicholas Marriott
2009-10-12Use absolute movement if right at the end of the line as it isn't a reliableNicholas Marriott
2009-10-12Use relative cursor movement instead of absolute when possible and whenNicholas Marriott
2009-10-12Similarly add a tty_cursor_pane function to tidy up most of the calls.Nicholas Marriott
2009-10-12_absolute is redundant, just use tty_region.Nicholas Marriott
2009-10-12Cleanup: use two functions for region setting, one for absolute and one insideNicholas Marriott
2009-10-11Like linefeed, don't set the scroll region for reverse index unless it will beNicholas Marriott
2009-10-10There is no point setting the scroll region up for line feeds unless scrollingNicholas Marriott
2009-10-09The UTF-8 detection idea doesn't work and I am reasonably happy with theNicholas Marriott
2009-10-09Be less aggressive about turning the cursor off, only explicitly turn it offNicholas Marriott
2009-09-23Support -c like sh(1) to execute a command, useful when tmux is a loginNicholas Marriott
2009-09-23Don't die if the client is detaching (the tty has been closed) after waking upNicholas Marriott
2009-09-23Remove the internal tmux locking and instead detach each client and run theNicholas Marriott
2009-09-23Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the clientNicholas Marriott
2009-09-23Don't attempt to open() the tty path, rely on the client sending its stdin fdNicholas Marriott
2009-09-22Be more careful about what flags are cleared when opening the terminal,Nicholas Marriott
2009-09-10Permit options such as status-bg to be configured using the entire 256 colourNicholas Marriott
2009-08-31Add a new display-panes command, with two options (display-panes-colour andNicholas Marriott
2009-08-21Emulate dch/dch1 if missing by redrawing the entire line.Nicholas Marriott
2009-08-14Send SGR0 when initialising the screen. Fixes problems on terminals with BCENicholas Marriott
2009-08-12A tty context must not be modified as it may be reused to update multipleNicholas Marriott
2009-08-11Initialise log_fd to -1, prevents spurious disconnection of the client when itNicholas Marriott
2009-08-11Have the client pass its stdin fd to the server when identifying itself andNicholas Marriott
2009-08-11Add a TTY_OPENED flag and tidy a little.Nicholas Marriott
2009-08-11Drop the no_stop argument to tty_close and tty_free in favour of a flag in theNicholas Marriott
2009-08-08Change the way the grid is stored, previously it was:Nicholas Marriott
2009-08-05If colours are not supported by the terminal, try to emulate a colouredNicholas Marriott
2009-08-03Add a terminal-overrides session option allowing individual terminfo(5) entriesNicholas Marriott
2009-07-27Draw UTF-8 characters under the selection correctly.Nicholas Marriott
2009-07-22tty_write is relatively short and the only function left in tty-write.c so moveNicholas Marriott
2009-07-22More tty code tidying: move the saved cursor/region position (from before theNicholas Marriott