billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=e0ed4b4ad9cf3fc74a1a245cdf1230f2d75191c2

commit e0ed4b4ad9cf3fc74a1a245cdf1230f2d75191c2
Author: Boris Faure <[email protected]>
Date:   Sun Dec 9 18:56:22 2018 +0100

    termptyesc: handle DSR-KBD but hardcode keyboard + test
---
 src/bin/termptyesc.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 8cba145..2042064 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -997,6 +997,20 @@ _handle_esc_csi_dsr(Termpty *ty, Eina_Unicode *b)
               termpty_write(ty, bf, len);
            }
          break;
+      case 26:
+         if (question_mark)
+           {
+              /* DSR-KBD (Keyboard)
+               * Reply North American */
+              termpty_write(ty, "\033[?27;1;0;0n",
+                            strlen("\033[?27;1;0;0n"));
+           }
+         else
+           {
+              WRN("unhandled DSR (dec specific: %s) %d",
+                  (question_mark)? "yes": "no", arg);
+           }
+         break;
       case 75:
          if (question_mark)
            {

-- 


Reply via email to