Introduction
Introduction Statistics Contact Development Disclaimer Help
tadd altscreen escseq alias & caps to terminfo entry. (thx Bert Münnich) - st …
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 189a81caa11a278079fde3e610870e07870d8968
parent 9b404c0dfb99a7fd918760984ba4d0c50d3c87b8
Author: Aurélien Aptel <[email protected]>
Date: Wed, 8 Jun 2011 20:22:38 +0200
add altscreen escseq alias & caps to terminfo entry. (thx Bert Münnich)
Diffstat:
M st.c | 6 ++++--
M st.info | 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -1141,12 +1141,13 @@ csihandle(void) {
term.mode &= ~MODE_MOUSEMOTION;
break;
case 1049: /* = 1047 and 1048 */
+ case 47:
case 1047:
if(IS_SET(MODE_ALTSCREEN)) {
tclearregion(0, 0, term.col-1, term.ro…
tswapscreen();
}
- if(escseq.arg[0] == 1047)
+ if(escseq.arg[0] != 1049)
break;
case 1048:
tcursor(CURSOR_LOAD);
t@@ -1213,12 +1214,13 @@ csihandle(void) {
term.mode |= MODE_MOUSEMOTION;
break;
case 1049: /* = 1047 and 1048 */
+ case 47:
case 1047:
if(IS_SET(MODE_ALTSCREEN))
tclearregion(0, 0, term.col-1, term.ro…
else
tswapscreen();
- if(escseq.arg[0] == 1047)
+ if(escseq.arg[0] != 1049)
break;
case 1048:
tcursor(CURSOR_SAVE);
diff --git a/st.info b/st.info
t@@ -85,6 +85,7 @@ st| simpleterm,
rev=\E[7m,
ri=\EM,
rmacs=\E(B,
+ rmcup=\E[?1049l,
rmso=\E[m,
rmul=\E[m,
sc=\E7,
t@@ -93,6 +94,7 @@ st| simpleterm,
sgr0=\E[0m,
sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4…
smacs=\E(0,
+ smcup=\E[?1049h,
smso=\E[7m,
smul=\E[4m,
tbc=\E[2g,
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.