termptyesc: resize parameters were inverted

This commit is contained in:
Boris Faure 2019-03-03 15:55:01 +01:00
parent 72ff9cbe3c
commit 490d388314
2 changed files with 2 additions and 2 deletions

View File

@ -3017,8 +3017,8 @@ _handle_resize_by_chars(Termpty *ty, Eina_Unicode **ptr)
Eina_Unicode *b = *ptr;
int w, h;
w = _csi_arg_get(ty, &b);
h = _csi_arg_get(ty, &b);
w = _csi_arg_get(ty, &b);
if ((w == -CSI_ARG_ERROR) || (h == -CSI_ARG_ERROR))
return;

View File

@ -52,7 +52,7 @@ printf '\033[14;25Hzulu'
printf '\033}tr\0'
#resize window to half width (shall display the same)
printf '\033[8;40;;t'
printf '\033[8;;40;t'
# force render
printf '\033}tr\0'