summaryrefslogtreecommitdiffstats
path: root/tty-keys.c
AgeCommit message (Expand)Author
2011-03-04Two fixes by Micah Cowan: make mouse work properly beyond >127 on signedNicholas Marriott
2011-01-03Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262Nicholas Marriott
2011-01-01Key table should be const.Nicholas Marriott
2010-05-31When the mode-mouse option is on, support dragging to make a selectionNicholas Marriott
2010-03-22Accept a full key match (not a partial) even if there is data left inNicholas Marriott
2009-12-17Allow keys to be replaced and reorder the table so that terminfo-defined keysNicholas Marriott
2009-12-14New server option, escape-time, to set the timeout used to detect if escapesNicholas Marriott
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
2009-12-01Look for mice and xterm keys before standard function keys as they are lessNicholas Marriott
2009-11-30Handle partial xterm function key sequences.Nicholas Marriott
2009-11-26Continue rather than returning if not a mouse key, to avoid hanging on anyNicholas Marriott
2009-11-26Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott
2009-11-26Handle the possibility of partial mouse reads, and fix a comment while here.Nicholas Marriott
2009-11-12Support rxvt-style keys again, but this time: support all the variations, putNicholas Marriott
2009-11-10Twiddling the last bit is an rxvtism, so do not support it in the table byNicholas Marriott
2009-11-09The input key should be a u_char. Fixes top-bit-set input problem reported byNicholas Marriott
2009-11-09Constify buf.Nicholas Marriott
2009-11-05Unused variable. Aargh.Nicholas Marriott
2009-11-05Switch the tty key tree over to an (unbalanced) ternary tree which allowsNicholas Marriott
2009-11-05Key flags are only used for initialisation so they are not needed in the mainNicholas 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-10-26Not all terminals swap CSI and SS3 on ctrl, so remove that.Nicholas Marriott
2009-10-26Rewrite xterm-keys code (both input and output) so that works (doesn't alwaysNicholas Marriott
2009-10-26Support the (mostly new) function key+modifier caps (kIC-kIC7). Most of theseNicholas Marriott
2009-10-26As we always put the cursor keys into application mode, assume keys sentNicholas Marriott
2009-10-26Tidy up table.Nicholas Marriott
2009-10-26Rename keypad keys to something more useful.Nicholas Marriott
2009-10-26Remove the xterm-keys code which is broken (a replacement is coming but someNicholas Marriott
2009-10-11Clean up by introducing a wrapper struct for mouse clicks rather than passingNicholas Marriott
2009-09-20Regularise some fatal messages.Nicholas Marriott
2009-07-26Detect backspace by looking at termios VERASE and translate it into \177 (whichNicholas Marriott
2009-07-21Tidy up keys: use an enum for the key codes, and remove the macros which justNicholas Marriott
2009-06-01Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott