Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-31 | When the mode-mouse option is on, support dragging to make a selection | Nicholas Marriott | |
in copy mode. Also support the scroll wheel, although xterm strangely does not ignore it in application mouse mode, causing redraw artifacts when scrolling up (other terminals appear to be better behaved). | |||
2010-03-22 | Accept a full key match (not a partial) even if there is data left in | Nicholas Marriott | |
the buffer. | |||
2009-12-17 | Allow keys to be replaced and reorder the table so that terminfo-defined keys | Nicholas Marriott | |
(or terminal-overrides) take precedence over internally defined. | |||
2009-12-14 | New server option, escape-time, to set the timeout used to detect if escapes | Nicholas Marriott | |
are alone or part of a function key or meta sequence. | |||
2009-12-03 | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last | Nicholas Marriott | |
time now I've configured emacs to make them displayed in really annoying colours... | |||
2009-12-01 | Look for mice and xterm keys before standard function keys as they are less | Nicholas Marriott | |
likely to be partial versions. | |||
2009-11-30 | Handle partial xterm function key sequences. | Nicholas Marriott | |
2009-11-26 | Continue rather than returning if not a mouse key, to avoid hanging on any | Nicholas Marriott | |
function key... | |||
2009-11-26 | Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to | Nicholas Marriott | |
the rest to reduce lint output. | |||
2009-11-26 | Handle the possibility of partial mouse reads, and fix a comment while here. | Nicholas Marriott | |
2009-11-12 | Support rxvt-style keys again, but this time: support all the variations, put | Nicholas Marriott | |
them in as raw escape sequences rather than fiddling with the values from terminfo, put them /after/ the terminfo values so the latter take precedence. | |||
2009-11-10 | Twiddling the last bit is an rxvtism, so do not support it in the table by | Nicholas Marriott | |
default. | |||
2009-11-09 | The input key should be a u_char. Fixes top-bit-set input problem reported by | Nicholas Marriott | |
ajacoutot@. | |||
2009-11-09 | Constify buf. | Nicholas Marriott | |
2009-11-05 | Unused variable. Aargh. | Nicholas Marriott | |
2009-11-05 | Switch the tty key tree over to an (unbalanced) ternary tree which allows | Nicholas Marriott | |
partial matches to be done (they wait for further data or a timer to expire, like a naked escape). Mouse and xterm-style keys still expect to be atomic. | |||
2009-11-05 | Key flags are only used for initialisation so they are not needed in the main | Nicholas Marriott | |
tty_key struct. | |||
2009-11-05 | Switch tty key input over to happen on a read event. This is a bit more | Nicholas Marriott | |
complicated because of escape input, but in that case instead of processing a key immediately, schedule a timer and reprocess the bufer when it expires. This currently assumes that keys will be atomic (ie that if eg F1 is pressed the entire sequence is present in the buffer). This is usually but not always true, a change in the tree format so it can differentiate potential (partial) key sequences will happens soon and will allow this to be fixed. | |||
2009-11-04 | Switch tty fds over to a bufferevent. | Nicholas Marriott | |
2009-10-26 | Not all terminals swap CSI and SS3 on ctrl, so remove that. | Nicholas Marriott | |
Also mark the rxvt special-cases as such until terminfo is updated to have kLFT5, kRIT5 etc. | |||
2009-10-26 | Rewrite xterm-keys code (both input and output) so that works (doesn't always | Nicholas Marriott | |
output the same modifiers, accepts all the possible input keys) and is more understandable. | |||
2009-10-26 | Support the (mostly new) function key+modifier caps (kIC-kIC7). Most of these | Nicholas Marriott | |
will be caught (soon) by the xterm keys code in xterm itself but some other descriptions such as rxvt define them as well. | |||
2009-10-26 | As we always put the cursor keys into application mode, assume keys sent | Nicholas Marriott | |
with CSI have ctrl. Also add a couple of comments. | |||
2009-10-26 | Tidy up table. | Nicholas Marriott | |
2009-10-26 | Rename keypad keys to something more useful. | Nicholas Marriott | |
2009-10-26 | Remove the xterm-keys code which is broken (a replacement is coming but some | Nicholas Marriott | |
more cleanup is needed first). | |||
2009-10-11 | Clean up by introducing a wrapper struct for mouse clicks rather than passing | Nicholas Marriott | |
three u_chars around. As a side-effect this fixes incorrectly rejecting high cursor positions (because it was comparing them as signed char), reported by Tom Doherty. | |||
2009-09-20 | Regularise some fatal messages. | Nicholas Marriott | |
2009-07-26 | Detect backspace by looking at termios VERASE and translate it into \177 (which | Nicholas Marriott | |
matches screen's behaviour if not its termcap/terminfo entry). The terminfo kbs cap is often wrong or missing so it can't be used, and just assuming \177 may be wrong. | |||
2009-07-21 | Tidy up keys: use an enum for the key codes, and remove the macros which just | Nicholas Marriott | |
wrap flag sets/clears/tests. | |||
2009-06-01 | Import tmux, a terminal multiplexor allowing (among other things) a single | Nicholas 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 |