Not possible to exit bpytop in a small terminal
See original GitHub issueDescribe the bug
On a small terminal (smaller than the minimum size to render) bpytop continues to display the message:
Width and Height needs to be at least 80 x 24!
even after pressing q
leaving the terminal iresponsive until resized back to a larger size and bpytop exists.
To Reproduce
- Start bpytop in a big enough terminal (size > 80 x 24)
- Resize the terminal to a size smaller than the minimum render size
(the message
Width and Height needs to be at least 80 x 24!
becomes visible) - Press
q
to exit (the terminal still shows the above message) and is not possible to close bpytop - Resize the terminal back to its original size. bpytop exists
Expected behavior
bpytop should still exit even if the terminal is to small (respond to q
key) without having to resize the terminal to a larger size
Screenshots
[If applicable, add screenshots to help explain your problem.]
Info (please complete the following information):
- bpytop version:
1.0.57
- psutil version:
5.8.0
- (Linux) Linux distribution and version:
Ubuntu 18.04
- (OSX/FreeBSD) Os release version:
- Terminal used:
Gnome Terminal 3.28.2
- Font used:
- Python version,
python3 --version
(version 3.6 or above is required):Python 3.7.4
Additional context
contents of ~/.config/bpytop/error.log
(try running bpytop with --debug
flag if error.log is empty)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
[BUG] Inability to close while terminal too small · Issue #366 ... - GitHub
Describe the bug When the terminal to small warning is shown, the "q" key can not close the program. If the terminal is...
Read more >bpytop - Bountysource
Not possible to exit bpytop in a small terminal $ 0 ... Created 1 year ago in aristocratos/bpytop with 4 comments. ... On...
Read more >How to solve local terminal output mess for btop (bpytop ...
Only one exception: btop not start (display ERROR: No UTF-8 locale detected) automatically, and able to start only with key —utf-force that ...
Read more >BPyTop – Fancy System Monitor for Linux Terminal - YouTube
BPyTop is a system resource monitor that shows usage and stats for CPU, Memory, Disk, Network and Processes.Has both keyboard and mouse ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jmrf Should be fixed in v1.0.65
@jmrf Will take a look at it when I’ve got time and make sure the
q
key does what it’s intended to do too.