tadded VT100 save&load cursor support. - st - [fork] customized build of st, th… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 636c369d86b6452a89f54c497a9816ca1f866d4e | |
parent 3ba517e796e0c7a73c5030ad791be1db36a8cec5 | |
Author: Aurélien Aptel <[email protected]> | |
Date: Sun, 21 Feb 2010 14:28:32 +0100 | |
added VT100 save&load cursor support. | |
Diffstat: | |
M st.c | 6 ++++++ | |
1 file changed, 6 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -868,6 +868,12 @@ tputc(char c) { | |
term.mode &= ~MODE_APPKEYPAD; | |
term.esc = 0; | |
break; | |
+ case '7': | |
+ tcursor(CURSOR_SAVE); | |
+ break; | |
+ case '8': | |
+ tcursor(CURSOR_LOAD); | |
+ break; | |
default: | |
fprintf(stderr, "erresc: unknown sequence ESC … | |
term.esc = 0; |