Does not respond to terminal resizes #7

Open
opened 2020-05-26 11:13:37 +02:00 by FichteFoll · 1 comment
Contributor

When the terminal is resized, the view is not re-rendered. It adjusts to the new size once a key has been pressed.

I know this is because of the way key input is polled and no other events are processed during that, but there should be an issue regardless. :^)

When the terminal is resized, the view is not re-rendered. It adjusts to the new size once a key has been pressed. I know this is because of the way key input is polled and no other events are processed during that, but there should be an issue regardless. :^)
Author
Contributor

Apparently you can't upload png images to gitea?

Anyway, here are some screenshots of a more severe case action. For the first screenshot, I simply pressed o to create a new entry. The second one was created after I inserted a description and hit enter to confirm that. Evidently, typing does not cause a rerender of the UI. The only way to fix the UI is to resize the terminal, e.g. by full-screening, press a key, and then resize it back and press another key.

I don't have reliable instructions for reproduction, but this usually happens when I add some window to the i3 container I run tracc. But it doesn't happen all the time.

Apparently you can't upload png images to gitea? Anyway, here are some screenshots of a more severe case action. For the first screenshot, I simply pressed `o` to create a new entry. The second one was created after I inserted a description and hit enter to confirm that. Evidently, typing does not cause a rerender of the UI. The only way to fix the UI is to resize the terminal, e.g. by full-screening, press a key, and then resize it back and press another key. I don't have reliable instructions for reproduction, but this usually happens when I add some window to the i3 container I run tracc. But it doesn't happen all the time. ![](https://x0.at/yN8.png) ![](https://x0.at/1fH.png)
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
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: kageru/tracc#7
No description provided.