Fix TUI rendering with wrong dimensions after suspend/resume

- Send SIGWINCH to self on terminal start to refresh stale dimensions (Unix only)
- Change requestRender(true) to set previousWidth = -1 to trigger widthChanged
- Update first render condition to skip when widthChanged is true

Fixes #599
This commit is contained in:
Mario Zechner 2026-01-11 02:47:28 +01:00
parent 019ad0ec11
commit d7394eb109
3 changed files with 13 additions and 3 deletions

View file

@ -2,6 +2,10 @@
## [Unreleased]
### Fixed
- TUI renders with wrong dimensions after suspend/resume if terminal was resized while suspended ([#599](https://github.com/badlogic/pi-mono/issues/599))
## [0.42.4] - 2026-01-10
## [0.42.3] - 2026-01-10