diff options
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) { | |||
| 868 | term.mode &= ~MODE_APPKEYPAD; | 868 | term.mode &= ~MODE_APPKEYPAD; |
| 869 | term.esc = 0; | 869 | term.esc = 0; |
| 870 | break; | 870 | break; |
| 871 | case '7': | ||
| 872 | tcursor(CURSOR_SAVE); | ||
| 873 | break; | ||
| 874 | case '8': | ||
| 875 | tcursor(CURSOR_LOAD); | ||
| 876 | break; | ||
| 871 | default: | 877 | default: |
| 872 | fprintf(stderr, "erresc: unknown sequence ESC %02X '%c'\n", c, isprint(c)?c:'.'); | 878 | fprintf(stderr, "erresc: unknown sequence ESC %02X '%c'\n", c, isprint(c)?c:'.'); |
| 873 | term.esc = 0; | 879 | term.esc = 0; |
