mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-21 23:05:59 +01:00
added VT100 save&load cursor support.
This commit is contained in:
parent
3ba517e796
commit
636c369d86
1 changed files with 6 additions and 0 deletions
6
st.c
6
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;
|
||||
|
|
Loading…
Reference in a new issue