[GH-ISSUE #19] Terminal resize repaints modal multiple times #13

Closed
opened 2026-03-04 01:01:07 +03:00 by kerem · 2 comments
Owner

Originally created by @andrewuhl on GitHub (Jan 13, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/19

Resizing a terminal window draws new modal without clearing the old modal.

  • Golang v. 1.9.2
  • Affects Windows 7 and Windows 10

modal

Resizing terminal window also affects other controls, e.g. table. E.g. when table keypress event occurs, the terminal window is permanently resized, requiring user to manually reset window dimensions under terminal properties.

Originally created by @andrewuhl on GitHub (Jan 13, 2018). Original GitHub issue: https://github.com/rivo/tview/issues/19 Resizing a terminal window draws new modal without clearing the old modal. - Golang v. 1.9.2 - Affects Windows 7 and Windows 10 ![modal](https://user-images.githubusercontent.com/15974852/34900056-dcd198ee-f7ca-11e7-9dc8-a55488285cae.png) Resizing terminal window also affects other controls, e.g. table. E.g. when table keypress event occurs, the terminal window is permanently resized, requiring user to manually reset window dimensions under terminal properties.
kerem closed this issue 2026-03-04 01:01:07 +03:00
Author
Owner

@rivo commented on GitHub (Jan 13, 2018):

Please let me know if my commit fixes what you're seeing. I know it does for the modal example but I'm not 100% sure I understood your second example. If there are still problems, please include some code that illustrates it.

<!-- gh-comment-id:357428891 --> @rivo commented on GitHub (Jan 13, 2018): Please let me know if my commit fixes what you're seeing. I know it does for the modal example but I'm not 100% sure I understood your second example. If there are still problems, please include some code that illustrates it.
Author
Owner

@andrewuhl commented on GitHub (Jan 13, 2018):

Your changes fix related issues I've seen.

<!-- gh-comment-id:357441975 --> @andrewuhl commented on GitHub (Jan 13, 2018): Your changes fix related issues I've seen.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#13
No description provided.