aboutsummaryrefslogtreecommitdiff
path: root/input-keys.c
Commit message (Collapse)AuthorAge
...
* Support all four of the xterm mouse modes. Based on a diff from hsim atNicholas Marriott2010-12-29
| | | | gmx.li.
* Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott2009-12-03
| | | | | 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 theNicholas Marriott2009-11-25
| | | | wrong way round).
* Don't output rxvtisms either.Nicholas Marriott2009-11-10
|
* It would help if I read my own comments... make alt keys work again by sendingNicholas Marriott2009-11-04
| | | | alt AND the key not alt instead of it.
* Convert the window pane (pty master side) fd over to use a bufferevent.Nicholas Marriott2009-11-04
| | | | | 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.Nicholas Marriott2009-10-26
| | | | | 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 alwaysNicholas Marriott2009-10-26
| | | | | output the same modifiers, accepts all the possible input keys) and is more understandable.
* On second thoughts, drop the rxvt output entirely.Nicholas Marriott2009-10-26
|
* Set the output code for ctrl+cursor keys correctly, and disable (comment)Nicholas Marriott2009-10-26
| | | | rxvt-style output.
* Drop INPUTKEY_CTRL and just handle it as part of the table.Nicholas Marriott2009-10-26
|
* Add or fix some comments.Nicholas Marriott2009-10-26
|
* Tidy up table.Nicholas Marriott2009-10-26
|
* Rename keypad keys to something more useful.Nicholas Marriott2009-10-26
|
* Remove the xterm-keys code which is broken (a replacement is coming but someNicholas Marriott2009-10-26
| | | | more cleanup is needed first).
* Clean up by introducing a wrapper struct for mouse clicks rather than passingNicholas Marriott2009-10-11
| | | | | | | 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 (whichNicholas Marriott2009-07-26
| | | | | | 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 justNicholas Marriott2009-07-21
| | | | wrap flag sets/clears/tests.
* Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott2009-06-01
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