aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-09-29 12:17:51 +0200
committerBoris Faure <billiob@gmail.com>2018-09-29 12:17:51 +0200
commit9fc660ccb2e8671fb6610f31e718496472f498cb (patch)
tree17eb638f2c808adf0cf90797f19553a1c90ec887 /src
parentcontrols: be able to show the settings twice or more (diff)
downloadterminology-9fc660ccb2e8671fb6610f31e718496472f498cb.tar.gz
termptyesc: DECFRA/DECERA finishes by $x/$z
And not just x/z
Diffstat (limited to 'src')
-rw-r--r--src/bin/termptyesc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 047b69e..ee9aa98 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1670,10 +1670,12 @@ HVP:
termpty_cursor_copy(ty, EINA_FALSE);
break;
case 'x':
- _handle_esc_csi_decfra(ty, &b);
+ if (*(cc-1) == '$')
+ _handle_esc_csi_decfra(ty, &b);
break;
case 'z':
- _handle_esc_csi_decera(ty, &b);
+ if (*(cc-1) == '$')
+ _handle_esc_csi_decera(ty, &b);
break;
default:
goto unhandled;