contour-terminal / contour

Modern C++ Terminal Emulator
http://contour-terminal.org/
Apache License 2.0
2.39k stars 100 forks source link

Terminal size can't recover #1154

Open rhcher opened 1 year ago

rhcher commented 1 year ago

Contour Terminal version

Contour Terminal Emulator 0.3.13-master-59df9d6b

Installer source

Github: source code cloned

Operating System

Windows 11 wsl2 Arch

Architecture

x86-64

Other Software

No response

Steps to reproduce

I found two way to reproduce:

  1. open contour with size 25 x 80 image

  2. enter alt+enter to triger fullscreen and trigger again

  3. then contour terminal size is 12 x 40 (half) image

another way:

  1. open contour with size 25 x 80
  2. try to resize terminal with mouse
  3. then contour terminal size is 12 x 38 (half)

Expected Behavior

We can recover terminal size properly.

Actual Behavior

We can not recover terminal size properly.

Additional notes

The option reflow_on_resize has no effect

Yaraslaut commented 1 year ago

Hi, thanks for the issues, it think this is similar to https://github.com/contour-terminal/contour/issues/883 we have it in our milestone for bug fixes, so we expect to fix it soonish