X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=84292f545395b129b5928152f1059e9a2f7ca94b;hb=636c369d86b6452a89f54c497a9816ca1f866d4e;hp=15ff4f8594138ded3a9efe28b931c510bec05c40;hpb=3ba517e796e0c7a73c5030ad791be1db36a8cec5;p=st.git diff --git a/st.c b/st.c index 15ff4f8..84292f5 100644 --- 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;