summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tty.c
AgeCommit message (Expand)Author
2011-01-03Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262Nicholas Marriott
2010-12-29Support all four of the xterm mouse modes. Based on a diff from hsim atNicholas Marriott
2010-11-22There is somewhere that WINDOW_HIDDEN is getting set when it shouldn'tNicholas Marriott
2010-10-16Trying to set FD_CLOEXEC on every fd is a lost cause, just useNicholas Marriott
2010-09-11Ugh. Pass the right type into tty_term_has. Teaches me to make lastNicholas Marriott
2010-09-11Use UTF-8 line drawing characters on UTF-8 terminals. Fixes some stupidNicholas Marriott
2010-08-11Change the way backoff works. Instead of stopping reading from the ptyNicholas Marriott
2010-06-05Fix problems with window sizing seen by Raghavendra D Prabhu whenNicholas Marriott
2010-06-05Shut up gcc4 warnings.Nicholas Marriott
2010-05-31When the mode-mouse option is on, support dragging to make a selectionNicholas Marriott
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