aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-12-29 15:19:31 +0100
committerBoris Faure <billiob@gmail.com>2018-12-29 15:19:31 +0100
commit6e8faa30a762739bb07504134a20289eae8bb1bf (patch)
tree4414666057411341a2c788f8a4159216b58d35db /src
parenttermptyesc: support DECFI (diff)
downloadterminology-6e8faa30a762739bb07504134a20289eae8bb1bf.tar.gz
termptyesc: refuse no value on decfra on the character to fill up + tests
Diffstat (limited to 'src')
-rw-r--r--src/bin/termptyesc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 814f4e7..f4f5004 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1528,14 +1528,13 @@ _handle_esc_csi_decfra(Termpty *ty, Eina_Unicode **b)
DBG("DECFRA (%d; %d;%d;%d;%d) Fill Rectangular Area",
c, top, left, bottom, right);
if ((c == -CSI_ARG_ERROR) ||
+ (c == -CSI_ARG_NO_VALUE) ||
(top == -CSI_ARG_ERROR) ||
(left == -CSI_ARG_ERROR) ||
(bottom == -CSI_ARG_ERROR) ||
(right == -CSI_ARG_ERROR))
return;
- /* TODO: -CSI_ARG_NO_VALUE */
-
if (! ((c >= 32 && c <= 126) || (c >= 160 && c <= 255)))
return;