billiob pushed a commit to branch master.

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

commit c7c054bf0dd7d49d2f1c6ad09038771902eef342
Author: Boris Faure <bill...@gmail.com>
Date:   Sun Mar 11 20:56:22 2018 +0100

    termptyesc: handle transparent in SGR38/SGR48
---
 src/bin/termptyesc.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 3e14672..1f92aa0 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -681,6 +681,10 @@ _handle_esc_csi_color_set(Termpty *ty, Eina_Unicode **ptr)
                    arg = _csi_arg_get(&b);
                    switch (arg)
                      {
+                      case 1:
+                         ty->termstate.att.fg256 = 0;
+                         ty->termstate.att.fg = COL_INVIS;
+                         break;
                       case 2:
                          ty->termstate.att.fg256 = 1;
                          ty->termstate.att.fg =
@@ -732,6 +736,10 @@ _handle_esc_csi_color_set(Termpty *ty, Eina_Unicode **ptr)
                    arg = _csi_arg_get(&b);
                    switch (arg)
                      {
+                      case 1:
+                         ty->termstate.att.bg256 = 0;
+                         ty->termstate.att.bg = COL_INVIS;
+                         break;
                       case 2:
                          ty->termstate.att.bg256 = 1;
                          ty->termstate.att.bg =

-- 


Reply via email to