Browse Source

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.
master
Johannes Postma 9 years ago
committed by Roberto E. Vargas Caballero
parent
commit
487bbb24d0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      st.info

+ 1
- 1
st.info View File

@ -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,


Loading…
Cancel
Save