termptyesc: handle transparent in SGR38/SGR48
This commit is contained in:
parent
91ced6390f
commit
c7c054bf0d
|
@ -681,6 +681,10 @@ _handle_esc_csi_color_set(Termpty *ty, Eina_Unicode **ptr)
|
||||||
arg = _csi_arg_get(&b);
|
arg = _csi_arg_get(&b);
|
||||||
switch (arg)
|
switch (arg)
|
||||||
{
|
{
|
||||||
|
case 1:
|
||||||
|
ty->termstate.att.fg256 = 0;
|
||||||
|
ty->termstate.att.fg = COL_INVIS;
|
||||||
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ty->termstate.att.fg256 = 1;
|
ty->termstate.att.fg256 = 1;
|
||||||
ty->termstate.att.fg =
|
ty->termstate.att.fg =
|
||||||
|
@ -732,6 +736,10 @@ _handle_esc_csi_color_set(Termpty *ty, Eina_Unicode **ptr)
|
||||||
arg = _csi_arg_get(&b);
|
arg = _csi_arg_get(&b);
|
||||||
switch (arg)
|
switch (arg)
|
||||||
{
|
{
|
||||||
|
case 1:
|
||||||
|
ty->termstate.att.bg256 = 0;
|
||||||
|
ty->termstate.att.bg = COL_INVIS;
|
||||||
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ty->termstate.att.bg256 = 1;
|
ty->termstate.att.bg256 = 1;
|
||||||
ty->termstate.att.bg =
|
ty->termstate.att.bg =
|
||||||
|
|
Loading…
Reference in New Issue