aboutsummaryrefslogtreecommitdiff
path: root/key-string.c
Commit message (Collapse)AuthorAge
* Sync OpenBSD patchset 1040:Tiago Cunha2012-03-07
| | | | | | Accept hex values as keys, needed for send-keys, based on a diff from George Nachman.
* Sync OpenBSD patchset 1007:Tiago Cunha2012-01-21
| | | | | | | | | | | | Drop the ability to have a list of keys in the prefix in favour of two separate options, prefix and prefix2. This simplifies the code and gets rid the data options type which was only used for this one option. Also add a -2 flag to send-prefix to send the secondary prefix key, fixing a cause of minor irritation. People who want three prefix keys are out of luck :-).
* Sync OpenBSD patchset 970:Tiago Cunha2011-10-23
| | | | | | Alias NPage/PPage as PageDown/PgDn/PageUp/PgUp to reduce occasional confusion.
* Expand the Id keyword. Tiago Cunha2011-07-09
|
* Make bind-key accept characters with the top-bit-set and print them as octal.Tiago Cunha2011-01-22
|
* Sync OpenBSD patchset 824:Tiago Cunha2011-01-03
| | | | | Last few tables that should be const.
* Use a macro-based mask for obtaining a key or modifier-set from the combination.Micah Cowan2010-06-05
| | | | | Display C-@, etc, as C-Space, in list-keys.
* Allow C-Space to work correctly once again, and forbid nonsensical ↵Micah Cowan2010-06-05
| | | | combinations such as C-Enter or C-Escape.
* Sync OpenBSD patchset 693:Tiago Cunha2010-05-14
| | | | | | | Make C-] and other punctuation-based control key combinations work again. ok nicm
* When converting A-Z into a control character, want to subtract 64 notNicholas Marriott2010-04-23
| | | | | 65... whoops.
* Sync OpenBSD patchset 685:Tiago Cunha2010-04-22
| | | | | | Rewrite key string conversions to be readable and to work properly for multiple modifiers.
* Sync OpenBSD patchset 608:Tiago Cunha2010-01-17
| | | | | | Permit S- prefix on keys for shift. Relatively few terminals support this (basically xterm only) and even fewer have them in terminfo (kLFT2 and kRIT2).
* 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 572:Tiago Cunha2009-11-28
| | | | | Make types clearer and lint happier.
* Sync OpenBSD patchset 522:Tiago Cunha2009-11-10
| | | | | | Lookup key as a named key (eg 'Space') before checking for single character keys, makes C-Space/M-Space etc resolve to the correct key code.
* Sync OpenBSD patchset 450:Tiago Cunha2009-10-28
| | | | | Rename keypad keys to something more useful.
* Sync OpenBSD patchset 363:Tiago Cunha2009-10-06
| | | | | Accept ^? for backspace as well as BSpace.
* Sync OpenBSD patchset 356:Tiago Cunha2009-10-05
| | | | | | Add a key string for space ("Space") and document the names, suggested by guenther@. Also document how to bind " and ', suggested by miod@.
* Sync OpenBSD patchset 193:Tiago Cunha2009-07-28
| | | | | Accept and print "Enter" and "Escape" for keys rather than C-m and C-[.
* 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 176:Tiago Cunha2009-07-25
| | | | | Accept lowercase c- and m- prefix as well as C- and M-.
* 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.
* If it exist, load a system-wide configuration file /etc/tmux.conf before anyNicholas Marriott2009-07-14
| | | | | user-specified one.
* Extra function keys from Dashing dashing at hushmail dot comNicholas Marriott2009-03-02
|
* Add tabs.Nicholas Marriott2009-01-16
|
* Prettify the key strings a little.Nicholas Marriott2009-01-14
|
* Tidy escape modifier (don't know how this worked before...).Nicholas Marriott2009-01-12
|
* Tidy up control key parsing; add shift.Nicholas Marriott2009-01-12
|
* Build array of codes, stop using ncurses global variables and push ncurses ↵Nicholas Marriott2009-01-09
| | | | crap into tty-term.c.
* 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
|
* Fix C-space and M-space.Nicholas Marriott2008-12-16
|
* Support keypad. Change cursor key output.Nicholas Marriott2008-07-23
|
* Allow use of alt keys. move-window command.Nicholas Marriott2008-06-25
|
* Support binding 27-31.Nicholas Marriott2008-06-04
|
* C-space is "^ " not "^@".Nicholas Marriott2007-11-09
|
* Kill window command. Nuke some backspace stuff.Nicholas Marriott2007-10-19
|
* List keys command.Nicholas Marriott2007-10-04
|
* Key binding, unbinding.Nicholas Marriott2007-10-03