aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termptyesc.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-03-13 09:15:32 +0100
committerBoris Faure <billiob@gmail.com>2018-03-13 09:15:32 +0100
commit9e0243d9f16f13b3bc2449b551aefd0d8a4da81e (patch)
treed300b24c295403ce28e01ca64eb2252344c898af /src/bin/termptyesc.c
parentshift-selection: reduce timeout to 5s, seems enough. Ref T2254 (diff)
downloadterminology-9e0243d9f16f13b3bc2449b551aefd0d8a4da81e.tar.gz
support encircled escape code. Closes https://phab.enlightenment.org/T6769
Diffstat (limited to 'src/bin/termptyesc.c')
-rw-r--r--src/bin/termptyesc.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index b34250b..3cc4e20 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -847,6 +847,24 @@ _handle_esc_csi_color_set(Termpty *ty, Eina_Unicode **ptr)
ty->termstate.att.bg = COL_DEF;
ty->termstate.att.bgintense = 0;
break;
+ case 51:
+ WRN("TODO: support SGR 51 - framed attribute");
+ ty->termstate.att.framed = 1;
+ break;
+ case 52:
+ ty->termstate.att.encircled = 1;
+ break;
+ case 53:
+ WRN("TODO: support SGR 51 - overlined attribute");
+ ty->termstate.att.overlined = 1;
+ break;
+ case 54:
+ ty->termstate.att.framed = 0;
+ ty->termstate.att.encircled = 0;
+ break;
+ case 55:
+ ty->termstate.att.overlined = 0;
+ break;
case 90: // fg
case 91:
case 92: