pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ba517e
)
added VT100 save&load cursor support.
author
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sun, 21 Feb 2010 13:28:32 +0000
(14:28 +0100)
committer
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sun, 21 Feb 2010 13:28:32 +0000
(14:28 +0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
15ff4f8
..
84292f5
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-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 %02X '%c'\n", c, isprint(c)?c:'.');
term.esc = 0;