diff options
author | Aurélien Aptel | 2010-02-21 14:28:32 +0100 |
---|---|---|
committer | Aurélien Aptel | 2010-02-21 14:28:32 +0100 |
commit | 636c369d86b6452a89f54c497a9816ca1f866d4e (patch) | |
tree | 581b0ffb54fd2080b5f63447be900db32e3249ee | |
parent | 3ba517e796e0c7a73c5030ad791be1db36a8cec5 (diff) | |
download | st-636c369d86b6452a89f54c497a9816ca1f866d4e.tar.gz st-636c369d86b6452a89f54c497a9816ca1f866d4e.tar.xz st-636c369d86b6452a89f54c497a9816ca1f866d4e.zip |
added VT100 save&load cursor support.
-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; |