diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-02-21 14:28:32 +0100 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-02-21 14:28:32 +0100 |
commit | 21a92b4dc98e22ff3a3adbd5a0aa55ccb0c82a62 (patch) | |
tree | 581b0ffb54fd2080b5f63447be900db32e3249ee /st.c | |
parent | 8d12cb403526368aa7e4df3769c93c62a9e7354a (diff) | |
download | st-21a92b4dc98e22ff3a3adbd5a0aa55ccb0c82a62.tar.gz st-21a92b4dc98e22ff3a3adbd5a0aa55ccb0c82a62.tar.bz2 |
added VT100 save&load cursor support.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |