aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoname <noname@inventati.org>2014-04-25 18:27:48 +0400
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-26 00:03:09 +0200
commit7f1e02e4dbb6e6f033797a09a7deea4fe29f2ca6 (patch)
treee5ec7e619dc0a3a6cee5bca5f08267c5d11588d4
parent84f6dbffa5a26e1a2f94f844844d76f80dd6c5a0 (diff)
downloadst-7f1e02e4dbb6e6f033797a09a7deea4fe29f2ca6.tar.gz
st-7f1e02e4dbb6e6f033797a09a7deea4fe29f2ca6.tar.bz2
st-7f1e02e4dbb6e6f033797a09a7deea4fe29f2ca6.zip
s/DSC/DCS/ DCS stands for DEVICE CONTROL STRING
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index f91eb8d..297eb3f 100644
--- a/st.c
+++ b/st.c
@@ -149,7 +149,7 @@ enum charset {
enum escape_state {
ESC_START = 1,
ESC_CSI = 2,
- ESC_STR = 4, /* DSC, OSC, PM, APC */
+ ESC_STR = 4, /* DCS, OSC, PM, APC */
ESC_ALTCHARSET = 8,
ESC_STR_END = 16, /* a final string was encountered */
ESC_TEST = 32, /* Enter in test mode */
@@ -2169,7 +2169,7 @@ strhandle(void) {
case 'k': /* old title set compatibility */
xsettitle(strescseq.args[0]);
return;
- case 'P': /* DSC -- Device Control String */
+ case 'P': /* DCS -- Device Control String */
case '_': /* APC -- Application Program Command */
case '^': /* PM -- Privacy Message */
return;