This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository terminology.

View the commit online.

commit d2757c046ecff0a6b14c109eca282cb2a73c9f74
Author: Boris Faure <bill...@gmail.com>
AuthorDate: Sat Apr 8 10:51:36 2023 +0200

    termptyesc: CSI DSR is not about reseting xmodkeys
---
 src/bin/termptyesc.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index d2fdca9..e5830cc 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1352,12 +1352,6 @@ _handle_esc_csi_dsr(Termpty *ty, Eina_Unicode *b)
    char bf[32];
    Eina_Bool question_mark = EINA_FALSE;
 
-   if (*b == '>')
-     {
-        WRN("TODO: disable key resources used by xterm");
-        ty->decoding_error = EINA_TRUE;
-        return;
-     }
    if (*b == '?')
      {
         question_mark = EINA_TRUE;
@@ -3465,7 +3459,13 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, const Eina_Unicode *ce)
           _handle_esc_csi_color_set(ty, &b, be);
         break;
       case 'n':
-        _handle_esc_csi_dsr(ty, b);
+        if (*b == '>')
+          {
+             WRN("TODO: disable key resources used by xterm");
+             ty->decoding_error = EINA_TRUE;
+          }
+        else
+          _handle_esc_csi_dsr(ty, b);
         break;
       case 'p': // define key assignments based on keycode
         if (b && *b == '!')

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to