summaryrefslogtreecommitdiffstats
path: root/key-string.c
AgeCommit message (Collapse)Author
2009-11-10Lookup key as a named key (eg 'Space') before checking for single characterNicholas Marriott
keys, makes C-Space/M-Space etc resolve to the correct key code.
2009-10-26Rename keypad keys to something more useful.Nicholas Marriott
2009-10-06Accept ^? for backspace as well as BSpace.Nicholas Marriott
2009-10-04Add a key string for space ("Space") and document the names, suggested byNicholas Marriott
guenther@. Also document how to bind " and ', suggested by miod@.
2009-07-28Accept and print "Enter" and "Escape" for keys rather than C-m and C-[.Nicholas Marriott
2009-07-26Detect backspace by looking at termios VERASE and translate it into \177 (whichNicholas 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-24Accept lowercase c- and m- prefix as well as C- and M-.Nicholas Marriott
2009-07-21Tidy up keys: use an enum for the key codes, and remove the macros which justNicholas Marriott
wrap flag sets/clears/tests.
2009-07-14Add backspace key to named keys.Nicholas Marriott
2009-06-01Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas 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