summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tty.c
AgeCommit message (Expand)Author
2010-03-01Check for colour and attribute modifications early so the translatedNicholas Marriott
2010-02-24Don't set the terminal to nonblocking on detach until we have finished with itNicholas Marriott
2010-02-01If redrawing line 0 of the screen onto the tty, there can't be a wrap flag onNicholas Marriott
2010-01-01Use tcflush(3) instead of TIOCFLUSH, from Ed Schouten.Nicholas Marriott
2009-12-26Fix the logic so that transition from a 256 colour to default works properly.Nicholas Marriott
2009-12-26Nuke some stray debugging.Nicholas Marriott
2009-12-14Pass through the aixterm bright colours if the terminal supports them (>= 16Nicholas Marriott
2009-12-04vte is buggy and doesn't home the cursor after changing the scrollNicholas Marriott
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
2009-12-02Reflect the keypad mode of the application so that numlock works.Nicholas Marriott
2009-11-27Add a couple of comments.Nicholas Marriott
2009-11-26Fix type - attributes should be u_char not int.Nicholas Marriott
2009-11-26Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott
2009-11-26Emulate il1, dl1, ich1 to run (albeit slowly) with vt100 feature set.Nicholas Marriott
2009-11-18Cleanup by moving various (mostly horrible) little bits handling UTF-8 gridNicholas Marriott
2009-11-12Emulate the ri (reverse index) capability: this allows tmux to at least startNicholas Marriott
2009-11-09Just ignore tty fd errors rather than dying, stops the server dying if theNicholas Marriott
2009-11-05Clear to the end of the screen from the right starting point when drawingNicholas Marriott
2009-11-05Switch tty key input over to happen on a read event. This is a bit moreNicholas Marriott
2009-11-04Switch tty fds over to a bufferevent.Nicholas Marriott
2009-11-04Ignore the colour on space, /not/ the attributes.Nicholas Marriott
2009-11-04Fix the reverse emulation when a terminal doesn't have setab to use the correctNicholas Marriott
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 de Raadt
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