aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-12-09 23:20:27 +0100
committerBoris Faure <billiob@gmail.com>2018-12-27 22:14:44 +0100
commite6d13fceb5ae2dbf0ccb46adb0b84e2823ef0a9f (patch)
tree4a9e8d5ce8a7f427952a1d01542229da8471971d /src
parenttermpty: support DSR-PP (Printer Port) + test (diff)
downloadterminology-e6d13fceb5ae2dbf0ccb46adb0b84e2823ef0a9f.tar.gz
termptyesc: support DSR-UDK + 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 71b3a58..9cbea07 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1025,6 +1025,20 @@ _handle_esc_csi_dsr(Termpty *ty, Eina_Unicode *b)
(question_mark)? "yes": "no", arg);
}
break;
+ case 25:
+ if (question_mark)
+ {
+ /* DSR-UDK (User-Defined Keys)
+ * Reply Unlocked */
+ termpty_write(ty, "\033[?20n",
+ strlen("\033[?20n"));
+ }
+ else
+ {
+ WRN("unhandled DSR (dec specific: %s) %d",
+ (question_mark)? "yes": "no", arg);
+ }
+ break;
case 26:
if (question_mark)
{