pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29619a1
)
Update kdch1 definition to three octal digits.
author
Johannes Postma
<jgmpostma@gmail.com>
Thu, 5 Mar 2015 15:52:51 +0000
(15:52 +0000)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Sat, 7 Mar 2015 18:21:19 +0000
(18:21 +0000)
ncurses wasn't able to detect the delete-character key as KEY_DC. This
patch fixes that.
kdch1 was defined as "\0177", but terminfo(5) states:
... characters may be given as three octal digits after a \.
The delete-character key is correctly defined in config.def.h.
st.info
patch
|
blob
|
history
diff --git
a/st.info
b/st.info
index
99c066d
..
b91812f
100644
(file)
--- a/
st.info
+++ b/
st.info
@@
-73,7
+73,7
@@
st| simpleterm,
kri=\E[1;2A,
kclr=\E[3;5~,
kdl1=\E[3;2~,
- kdch1=\
0
177,
+ kdch1=\177,
kich1=\E[2~,
kend=\E[4~,
kf1=\EOP,