diff options
author | Paul Fertser <fercerpav@gmail.com> | 2022-04-01 10:40:53 +0300 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2022-04-01 10:49:01 +0300 |
commit | e1323655ee2924cab5efd48fdb307e76b7d16b24 (patch) | |
tree | 1442f62d03c3a2686c4f550c65ab9a5aa4bf8d69 /themes/gruvbox | |
parent | 9a4cfa70efac52f35650b535a7110c0fd1f3bc79 (diff) | |
download | profani-tty-e1323655ee2924cab5efd48fdb307e76b7d16b24.tar.gz |
Fix race condition on resize
The current code is inherently racy: if screen update takes considerable time (e.g. when working over network) and a user performed a series of resizes the final event might get ignored and the display will be left in inconsistent state. Fix the race by unsetting the flag first so if the next WINCH signal is received while display is resizing it'll be processed on the next iteration.
Diffstat (limited to 'themes/gruvbox')
0 files changed, 0 insertions, 0 deletions