aboutsummaryrefslogtreecommitdiff
path: root/input-keys.c
Commit message (Collapse)AuthorAge
...
| * 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
* Sync OpenBSD patchset 1150:Tiago Cunha2012-07-11
| | | | | xfree is not particularly helpful, remove it. From Thomas Adam.
* Sync OpenBSD patchset 1110:Tiago Cunha2012-05-12
| | | | | Only enter copy mode on scroll up, from Ailin Nemui.
* Sync OpenBSD patchset 1088:Tiago Cunha2012-04-10
| | | | | Simplify mouse input function.
* Sync OpenBSD patchset 941:Tiago Cunha2011-08-04
| | | | | | | | | Extend the mode-mouse option to add a third choice which means the mouse does not enter copy mode. Patch from SF bug 3374493. In future the mode-mouse option is likely to die and be broken into several smaller options.
* Expand the Id keyword. Tiago Cunha2011-07-09
|
* Sync OpenBSD patchset 896:Tiago Cunha2011-04-25
| | | | | | | | When mode-mouse is on (it is off by default), automatically enter copy mode when the mouse is dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel is scrolled off the bottom. Discussed with and written by hsim at gmx dot li.
* Sync OpenBSD patchset 828:Tiago Cunha2011-01-07
| | | | | | | | | | | | Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262 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.
* Sync OpenBSD patchset 824:Tiago Cunha2011-01-03
| | | | | Last few tables that should be const.
* Sync OpenBSD patchset 812:Tiago Cunha2010-12-30
| | | | | | Support all four of the xterm mouse modes. Based on a diff from hsim at gmx.li.
* Solaris 9 has no stdint.h, ugh. Reported by a couple of people mostNicholas Marriott2010-09-07
| | | | | recently Timothy Larson.
* Sync OpenBSD patchset 581:Tiago Cunha2009-12-04
| | | | | | | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
* Sync OpenBSD patchset 562:Tiago Cunha2009-11-28
| | | | | | Output the right keys for application and number keypad modes (they were the wrong way round).
* Sync OpenBSD patchset 525:Tiago Cunha2009-11-10
| | | | | Don't output rxvtisms either.
* Sync OpenBSD patchset 502:Tiago Cunha2009-11-08
| | | | | | It would help if I read my own comments... make alt keys work again by sending alt AND the key not alt instead of it.
* Sync OpenBSD patchset 498:Tiago Cunha2009-11-08
| | | | | | | | Convert the window pane (pty master side) fd over to use a bufferevent. 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.
* Sync OpenBSD patchset 460:Tiago Cunha2009-10-28
| | | | | | | | Not all terminals swap CSI and SS3 on ctrl, so remove that. Also mark the rxvt special-cases as such until terminfo is updated to have kLFT5, kRIT5 etc.
* Sync OpenBSD patchset 459:Tiago Cunha2009-10-28
| | | | | | | Rewrite xterm-keys code (both input and output) so that works (doesn't always output the same modifiers, accepts all the possible input keys) and is more understandable.
* Sync OpenBSD patchset 457:Tiago Cunha2009-10-28
| | | | | On second thoughts, drop the rxvt output entirely.
* Sync OpenBSD patchset 456:Tiago Cunha2009-10-28
| | | | | | Set the output code for ctrl+cursor keys correctly, and disable (comment) rxvt-style output.
* Sync OpenBSD patchset 453:Tiago Cunha2009-10-28
| | | | | Drop INPUTKEY_CTRL and just handle it as part of the table.
* Sync OpenBSD patchset 452:Tiago Cunha2009-10-28
| | | | | Add or fix some comments.
* Sync OpenBSD patchset 451:Tiago Cunha2009-10-28
| | | | | Tidy up table.
* Sync OpenBSD patchset 450:Tiago Cunha2009-10-28
| | | | | Rename keypad keys to something more useful.
* Sync OpenBSD patchset 449:Tiago Cunha2009-10-28
| | | | | | Remove the xterm-keys code which is broken (a replacement is coming but some more cleanup is needed first).
* Sync OpenBSD patchset 381:Tiago Cunha2009-10-12
| | | | | | | | | Clean up by introducing a wrapper struct for mouse clicks rather than passing 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.
* Sync OpenBSD patchset 184:Tiago Cunha2009-07-28
| | | | | | | | Detect backspace by looking at termios VERASE and translate it into \177 (which 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.
* Sync OpenBSD patchset 151:Tiago Cunha2009-07-22
| | | | | | Tidy up keys: use an enum for the key codes, and remove the macros which just wrap flag sets/clears/tests.
* Space trimmage mega-diff.Nicholas Marriott2009-05-04
|
* Extra function keys from Dashing dashing at hushmail dot comNicholas Marriott2009-03-02
|
* * Better support for at least the most common variant of mouse input: parse ↵Nicholas Marriott2009-01-28
| | | | | | | it and adjust for different panes. Also support mouse in window/session choice mode. * Bring back the fancy window titles with session/window names: it is easy to work around problems with elinks (see FAQ).
* Make shift arrow keys work.Nicholas Marriott2009-01-12
|
* More hacks for key handling.Nicholas Marriott2009-01-12
|
* Handle ctrl/shift modifiers better.Nicholas Marriott2009-01-12
|
* Window splitting. Two vertical panes fixed 50% each. This is a huge diff, ↵Nicholas Marriott2009-01-11
| | | | still a couple of bugs (notably heap corruption somewhere causing segfault on exit).
* Support btab.Nicholas Marriott2009-01-10
|
* Trim spaces.Nicholas Marriott2009-01-10
|
* Update key handling code. Simplify, support ctrl properly and add a new ↵Nicholas Marriott2009-01-09
| | | | window option (xterm-keys) to output xterm key codes including ctrl and, if available, alt and shift.
* Give up the farce of caring about any keys aside from the ones in the screen ↵Nicholas Marriott2009-01-08
| | | | termcap and the ones termcap doesn't handle that we hardcode manually.
* Introduce nitems() and use it; use bsearch.Nicholas Marriott2009-01-07
|