aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-12-09 21:04:59 +0100
committerBoris Faure <billiob@gmail.com>2018-12-27 22:14:44 +0100
commitf54bd2350f453b8e72b2c8325e5ef43af15cef2c (patch)
tree5a9e89b6530496a8206f9ca8589eb66db2107b25 /src
parenttytest: add write buffer to checksum (diff)
downloadterminology-f54bd2350f453b8e72b2c8325e5ef43af15cef2c.tar.gz
termptyesc: support DSR-MSR (0 Macro Space) + test
Diffstat (limited to 'src')
-rw-r--r--src/bin/termptyesc.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 2042064..8db6bd9 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1011,6 +1011,20 @@ _handle_esc_csi_dsr(Termpty *ty, Eina_Unicode *b)
(question_mark)? "yes": "no", arg);
}
break;
+ case 62:
+ if (question_mark)
+ {
+ /* DSR-MSR (Macro Space Report)
+ * Reply 0 */
+ termpty_write(ty, "\033[0000*{",
+ strlen("\033[0000*{"));
+ }
+ else
+ {
+ WRN("unhandled DSR (dec specific: %s) %d",
+ (question_mark)? "yes": "no", arg);
+ }
+ break;
case 75:
if (question_mark)
{