termptyesc: resize parameters were inverted

terminology-1.4
Boris Faure 4 years ago
parent 72ff9cbe3c
commit 490d388314
  1. 2
      src/bin/termptyesc.c
  2. 2
      tests/resize_window_no_content_change.sh

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

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

Loading…
Cancel
Save