mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #377] resize flashing on windows #277
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#277
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tony-- on GitHub (Dec 11, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/377
My team is using tview for a console application and our QA team reported a usability bug. When the window is resized on Windows, the screen flashes. The flashing continues for a short time after the resize is finished. It isn't a huge issue, but it is a little ugly. I captured a gif that shows the flashing. I resized a few times, with some ridiculous resizes just to emphasize the effect, but you can see that it still occurs with a normal resize:

I believe this can be mitigated by adding some throttling to the EventResize handling here. I'll open a PR with a suggested fix, but I'm not very experienced with golang so please go easy on me!
@rivo commented on GitHub (Jan 27, 2020):
Shuold be fixed with the latest commit (see #378).