[hackers] [st] added VT100 save&load cursor support. || Aur?lien Aptel

From: <hg_AT_suckless.org>
Date: Sun, 21 Feb 2010 13:40:07 +0000 (UTC)

changeset: 73:59275f83f495
user: Aur?lien Aptel <aurelien.aptel_AT_gmail.com>
date: Sun Feb 21 14:28:32 2010 +0100
files: st.c
description:
added VT100 save&load cursor support.

diff -r 677fcf8e69b2 -r 59275f83f495 st.c
--- a/st.c Sun Feb 21 14:14:58 2010 +0100
+++ b/st.c Sun Feb 21 14:28:32 2010 +0100
@@ -868,6 +868,12 @@
                                 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;
Received on Sun Feb 21 2010 - 13:40:07 UTC

This archive was generated by hypermail 2.2.0 : Sun Feb 21 2010 - 13:48:06 UTC