From 967e6347b813947f3b06d723f862bd5bb52c26f1 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 10 Jul 2019 00:24:15 -0400 Subject: Ignore SM and RM --- bin/shotty.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/shotty.c b/bin/shotty.c index 080986f1..304be444 100644 --- a/bin/shotty.c +++ b/bin/shotty.c @@ -101,7 +101,9 @@ enum { ED = 'J', EL, VPA = 'd', - SGR = 'm', + SM = 'h', + RM = 'l', + SGR, }; static char updateESC(wchar_t ch) { @@ -112,6 +114,7 @@ static char updateESC(wchar_t ch) { } switch (ch) { case '(': discard = true; return ESC; + case '=': return NUL; case CSI: return CSI; default: warnx("unhandled ESC %lc", ch); return NUL; } @@ -173,6 +176,9 @@ static char updateCSI(wchar_t ch) { } } + break; case SM: // ignore + break; case RM: // ignore + break; case SGR: { for (uint i = 0; i < p + 1; ++i) { switch (ps[i]) { -- cgit 1.4.1 ='master' selected='selected'>master collaborative ASCII art
about summary refs log tree commit diff homepage
path: root/LICENSE (unfollow)
Commit message (Collapse)Author
2017-07-31Fix removing clients from clientCastJune McEnroe
2017-07-31Build with debug infoJune McEnroe
2017-07-31Don't dump tiles in coreJune McEnroe
2017-07-31Use designated initializers for messagesJune McEnroe
I did not realize this syntax was so powerful.
2017-07-31Show other clients' cursorsJune McEnroe
Also unfuck removing on send failure.
2017-07-31Perform enter as two moves rather than a loopJune McEnroe
2017-07-31Track tile access countsJune McEnroe
2017-07-31Adjust move speed in clientJune McEnroe
2017-07-31Handle large movesJune McEnroe
2017-07-30Optimize builds for chrootJune McEnroe
2017-07-30Persist bright across color changesJune McEnroe
2017-07-30Add index.htmlJune McEnroe
2017-07-30Add snapshot.shJune McEnroe
2017-07-30Fix termcap patch for background colorsJune McEnroe
2017-07-30Update helpJune McEnroe
2017-07-30Fix help to track colorJune McEnroe
2017-07-30Support background colorsJune McEnroe
2017-07-30Track color only client-sideJune McEnroe
2017-07-30Add ostensible support for background colorsJune McEnroe
2017-07-30Add tile create and access timestampsJune McEnroe
2017-07-30Assert stable struct Tile field offsetsJune McEnroe
2017-07-30Add chroot.shJune McEnroe
2017-07-30Add ` commandJune McEnroe
2017-07-30Add sshd_configJune McEnroe
2017-07-30Add termcap patchJune McEnroe