aboutsummarylogtreecommitdiffstats
path: root/st.info
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero2012-11-13 20:04:34 +0100
committerRoberto E. Vargas Caballero2012-11-13 20:04:34 +0100
commitd1f6b2f10129fe77e09722c7ea2f6d736bd05a40 (patch)
tree19976b84e7d633c46c32eef209837f5498a663ab /st.info
parent5708a3f4e2022d996acea18f4b9176dfcda1432f (diff)
downloadaur-d1f6b2f10129fe77e09722c7ea2f6d736bd05a40.tar.gz
Fix keypad mode and cursor mode
Keypad mode is used for detecting when keys in the auxiliary keypad are pressed, while cursor mode is used for detecting when a cursor is pressed, but they are different modes. St was mixing both modes and DECPAM and DECPNM modified the cursor mode, and this was incorrect. --- st.c | 5 +++-- st.info | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-)
Diffstat (limited to 'st.info')
-rw-r--r--st.info4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.info b/st.info
index 58e213902631..63af2342cb2c 100644
--- a/st.info
+++ b/st.info
@@ -89,7 +89,7 @@ st| simpleterm,
ritm=\E[23m,
rmacs=\E(B,
rmcup=\E[?1049l,
-# rmkx=\E>,
+ rmkx=\E[?1l\E>,
rmso=\E[23m,
rmul=\E[m,
rs1=\Ec,
@@ -104,7 +104,7 @@ st| simpleterm,
sitm=\E[3m,
smacs=\E(0,
smcup=\E[?1049h,
-# smkx=\E=,
+ smkx=\E[?1h\E=,
smso=\E[3m,
smul=\E[4m,
tbc=\E[3g,