tUpdate kdch1 definition to three octal digits. - st - [fork] customized build … | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 487bbb24d02190efa3d18093cadfa376f816d7fa | |
parent 29619a1a35175fd79a743ed006af405ea586a0fd | |
Author: Johannes Postma <[email protected]> | |
Date: Thu, 5 Mar 2015 15:52:51 +0000 | |
Update kdch1 definition to three octal digits. | |
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. | |
Diffstat: | |
M st.info | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.info b/st.info | |
t@@ -73,7 +73,7 @@ st| simpleterm, | |
kri=\E[1;2A, | |
kclr=\E[3;5~, | |
kdl1=\E[3;2~, | |
- kdch1=\0177, | |
+ kdch1=\177, | |
kich1=\E[2~, | |
kend=\E[4~, | |
kf1=\EOP, |