aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-01-07 23:31:31 +0100
committerBoris Faure <billiob@gmail.com>2019-01-07 23:31:31 +0100
commit5475920c56cbc0fe9577faf9ccc92ba70aee81f2 (patch)
treec2ae4fd4c0ba9024be08ceda6901f2d28d695596 /src
parenttermptyesc: support DECST8C + tests (diff)
downloadterminology-5475920c56cbc0fe9577faf9ccc92ba70aee81f2.tar.gz
termptyesc: add debug on sixel/regis graphics attributes
Diffstat (limited to 'src')
-rw-r--r--src/bin/termptyesc.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 51b8e70..1847337 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -2701,6 +2701,13 @@ _handle_xterm_unset_title_modes(Termpty *ty EINA_UNUSED,
}
static void
+_handle_sixel_regis_graphics_attributes(Termpty *ty EINA_UNUSED,
+ Eina_Unicode **ptr EINA_UNUSED)
+{
+ DBG("Sixel/ReGIS Graphics Attributes: TODO");
+}
+
+static void
_handle_esc_csi_decst8c(Termpty *ty, Eina_Unicode **ptr)
{
Eina_Unicode *b = *ptr;
@@ -2816,7 +2823,10 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, const Eina_Unicode *ce)
_handle_esc_csi_dch(ty, &b);
break;
case 'S':
- _handle_esc_csi_su(ty, &b);
+ if (*b == '?')
+ _handle_sixel_regis_graphics_attributes(ty, &b);
+ else
+ _handle_esc_csi_su(ty, &b);
break;
case 'T':
if (*b == '?')