diff options
| author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-13 20:04:34 +0100 |
|---|---|---|
| committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-13 20:04:34 +0100 |
| commit | 69ee3ba3a771ca60bc8738174c79fc851818a36b (patch) | |
| tree | 7e2626d8012466682209f58798fc982f3c466092 /st.info | |
| parent | Add SRM sequence (diff) | |
| download | st-69ee3ba3a771ca60bc8738174c79fc851818a36b.tar.gz st-69ee3ba3a771ca60bc8738174c79fc851818a36b.zip | |
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 '')
| -rw-r--r-- | st.info | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -89,7 +89,7 @@ st| simpleterm, | |||
| 89 | ritm=\E[23m, | 89 | ritm=\E[23m, |
| 90 | rmacs=\E(B, | 90 | rmacs=\E(B, |
| 91 | rmcup=\E[?1049l, | 91 | rmcup=\E[?1049l, |
| 92 | # rmkx=\E>, | 92 | rmkx=\E[?1l\E>, |
| 93 | rmso=\E[23m, | 93 | rmso=\E[23m, |
| 94 | rmul=\E[m, | 94 | rmul=\E[m, |
| 95 | rs1=\Ec, | 95 | rs1=\Ec, |
| @@ -104,7 +104,7 @@ st| simpleterm, | |||
| 104 | sitm=\E[3m, | 104 | sitm=\E[3m, |
| 105 | smacs=\E(0, | 105 | smacs=\E(0, |
| 106 | smcup=\E[?1049h, | 106 | smcup=\E[?1049h, |
| 107 | # smkx=\E=, | 107 | smkx=\E[?1h\E=, |
| 108 | smso=\E[3m, | 108 | smso=\E[3m, |
| 109 | smul=\E[4m, | 109 | smul=\E[4m, |
| 110 | tbc=\E[3g, | 110 | tbc=\E[3g, |
