termptyesc: DECFRA/DECERA finishes by $x/$z

And not just x/z
This commit is contained in:
Boris Faure 2018-09-29 12:17:51 +02:00
parent 3b8bbb70c6
commit 9fc660ccb2
1 changed files with 4 additions and 2 deletions

View File

@ -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;