You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What crate(s) in this repo are involved in the problem?
tokio-console
What is the issue?
The issue is that there appears to be some maximum width restriction preventing me from zooming out far enough to see the full text in the rightmost column.
How can the bug be reproduced?
Screen.Recording.2024-07-28.at.7.50.39.AM.mov
You can reproduce the bug by pressing CMD and - repeatedly. A few times the width of the tokio-console will adjust properly. But after pressing it enough times, it will stop adjusting and stay at some maximum width.
After talking to the Ratatui devs, it looks like this is a limitation in Ratatui (and perhaps also in the underlying terminal library). The dimensions (height and width) are stored as u16 and that effectively restricts the total area that is rendered to a u16 as well.
This isn't intentional, but it isn't clear what the correct solution is. I didn't manage to find an issue on the Ratatui project, but I was given this comment as a reference: ratatui/ratatui#174 (comment)
It was suggested that providing some sort of notification when the terminal is larger than the limit, but I'm not entirely sure how to achieve that right now.
What crate(s) in this repo are involved in the problem?
tokio-console
What is the issue?
The issue is that there appears to be some maximum width restriction preventing me from zooming out far enough to see the full text in the rightmost column.
How can the bug be reproduced?
Screen.Recording.2024-07-28.at.7.50.39.AM.mov
You can reproduce the bug by pressing
CMD
and-
repeatedly. A few times the width of the tokio-console will adjust properly. But after pressing it enough times, it will stop adjusting and stay at some maximum width.Logs, error output, etc
No response
Versions
Possible solution
No response
Additional context
No response
Would you like to work on fixing this bug?
yes
The text was updated successfully, but these errors were encountered: