summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2020-07-15 21:11:05 +0200
committerBoris Faure <billiob@gmail.com>2020-07-15 21:11:05 +0200
commita56a76afc762ab8213834b503cbcf316b1dc1662 (patch)
treeb71edf9a3073425d86be768a2c5be6d65f69f8ad
parentaa7b50ae4b4230d5f908b2c88d8559e63a4a5ff9 (diff)
termptyesc: handle single osc arg
-rw-r--r--src/bin/termptyesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 70027b8..0600266 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -3622,7 +3622,7 @@ _osc_arg_get(Termpty *ty, Eina_Unicode **ptr)
3622 goto error; 3622 goto error;
3623 } 3623 }
3624 } 3624 }
3625 if (*b != ';' && *b != BEL) 3625 if (*b != ';' && *b != BEL && *b != 0)
3626 { 3626 {
3627 sum = -ESC_ARG_ERROR; 3627 sum = -ESC_ARG_ERROR;
3628 goto error; 3628 goto error;