diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-07-28 22:37:02 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-07-28 22:37:02 +0000 |
commit | 361801aaaa4f68768f7f45695c51bbe5a1acee2b (patch) | |
tree | 575efc02cb16abad18f951092daf963abaceb2a8 /tmux.h | |
parent | 2aa4d473121520167962756c5323865c73607186 (diff) | |
download | rtmux-361801aaaa4f68768f7f45695c51bbe5a1acee2b.tar.gz rtmux-361801aaaa4f68768f7f45695c51bbe5a1acee2b.tar.bz2 rtmux-361801aaaa4f68768f7f45695c51bbe5a1acee2b.zip |
Sync OpenBSD patchset 184:
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.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.390 2009-07-28 22:12:16 tcunha Exp $ */ +/* $Id: tmux.h,v 1.391 2009-07-28 22:37:02 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -120,6 +120,9 @@ enum key_code { /* Mouse key. */ KEYC_MOUSE = 0x1000, + /* Backspace key. */ + KEYC_BSPACE, + /* Function keys. */ KEYC_F1, KEYC_F2, |