question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not possible to exit bpytop in a small terminal

See original GitHub issue

Describe 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:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
aristocratoscommented, May 2, 2021

@jmrf Should be fixed in v1.0.65

1reaction
aristocratoscommented, Apr 25, 2021

@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.

Read more comments on GitHub >

github_iconTop 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 >
So there is bpytop from snap - Ask Ubuntu
trying to install bpytop the easy way.
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found