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 e31a33ee53c1f896cfb4795430228f642e76f709
Author: Boris Faure <bill...@gmail.com>
AuthorDate: Sat Apr 8 10:22:17 2023 +0200

    termptyesc: `>4;m` is not about colors
---
 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 a8190bf..d2fdca9 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -976,12 +976,6 @@ _handle_esc_csi_color_set(Termpty *ty, Eina_Unicode **ptr,
 {
    Eina_Unicode *b = *ptr;
 
-   if (b && (*b == '>'))
-     { // key resources used by xterm
-        WRN("TODO: set/reset key resources used by xterm");
-        ty->decoding_error = EINA_TRUE;
-        return;
-     }
    DBG("color set");
    while (b && b <= end)
      {
@@ -3462,7 +3456,13 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, const Eina_Unicode *ce)
         _handle_esc_csi_reset_mode(ty, *cc, b, be);
         break;
       case 'm': // color set
-        _handle_esc_csi_color_set(ty, &b, be);
+        if (b && (*b == '>' || *b == '?'))
+          { // key resources used by xterm
+             WRN("TODO: set/reset key resources used by xterm");
+             ty->decoding_error = EINA_TRUE;
+          }
+        else
+          _handle_esc_csi_color_set(ty, &b, be);
         break;
       case 'n':
         _handle_esc_csi_dsr(ty, b);

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

Reply via email to