summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input-keys.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262nicm2011-01-031-5/+17
| | | | | | | | | | and supports larger terminals than the older way. If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all UTF-8 terminals. The option defaults to on if LANG etc are set in the same manner as the utf8 option. With help and based on code from hsim at gmx.li.
* Last few tables that should be const.nicm2011-01-011-7/+7
|
* Support all four of the xterm mouse modes. Based on a diff from hsim atnicm2010-12-291-2/+2
| | | | gmx.li.
* Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastnicm2009-12-031-4/+4
| | | | | time now I've configured emacs to make them displayed in really annoying colours...
* Output the right keys for application and number keypad modes (they were thenicm2009-11-251-34/+34
| | | | wrong way round).
* Don't output rxvtisms either.nicm2009-11-101-23/+1
|
* It would help if I read my own comments... make alt keys work again by sendingnicm2009-11-041-4/+3
| | | | alt AND the key not alt instead of it.
* Convert the window pane (pty master side) fd over to use a bufferevent.nicm2009-11-041-10/+14
| | | | | The evbuffer API is very similar to the existing tmux buffer API so this was remarkably painless. Not many possible ways to do it, I suppose.
* Not all terminals swap CSI and SS3 on ctrl, so remove that.nicm2009-10-261-2/+5
| | | | | Also mark the rxvt special-cases as such until terminfo is updated to have kLFT5, kRIT5 etc.
* Rewrite xterm-keys code (both input and output) so that works (doesn't alwaysnicm2009-10-261-1/+13
| | | | | output the same modifiers, accepts all the possible input keys) and is more understandable.
* On second thoughts, drop the rxvt output entirely.nicm2009-10-261-13/+1
|
* Set the output code for ctrl+cursor keys correctly, and disable (comment)nicm2009-10-261-5/+8
| | | | rxvt-style output.
* Drop INPUTKEY_CTRL and just handle it as part of the table.nicm2009-10-261-44/+63
|
* Add or fix some comments.nicm2009-10-261-10/+17
|
* Tidy up table.nicm2009-10-261-82/+83
|
* Rename keypad keys to something more useful.nicm2009-10-261-33/+33
|
* Remove the xterm-keys code which is broken (a replacement is coming but somenicm2009-10-261-59/+27
| | | | more cleanup is needed first).
* Clean up by introducing a wrapper struct for mouse clicks rather than passingnicm2009-10-111-5/+5
| | | | | | | 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.
* Detect backspace by looking at termios VERASE and translate it into \177 (whichnicm2009-07-261-1/+4
| | | | | | 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.
* Tidy up keys: use an enum for the key codes, and remove the macros which justnicm2009-07-211-26/+26
| | | | wrap flag sets/clears/tests.
* Import tmux, a terminal multiplexor allowing (among other things) a singlenicm2009-06-011-0/+227
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