aristocratos / btop

A monitor of resources
Apache License 2.0
21.37k stars 655 forks source link

[BUG] WSL1: use of key-bindings results in frozen state #815

Open Gregory-K opened 8 months ago

Gregory-K commented 8 months ago

Describe the bug

btop starts OK, but none of the key-bindings work. The program stops updating the display right after pressing any key and gets frozen. No escape/quit sequence works except for killing the terminal(or tmux) window.

To Reproduce

Expected behaviour

At least a working 'q' to exit.

Screenshots

[If applicable, add screenshots to help explain your problem.]

Info (please complete the following information):

Additional context

Contents of ~/.config/btop/btop.log

# normal execution, after killing term window
===> btop++ v.1.3.2
ERROR: Couldn't determine terminal size of "STDOUT_FILENO"!
ERROR: Couldn't determine terminal size of "/dev/tty"!

# debug flag
===> btop++ v.1.3.2
DEBUG: Running in DEBUG mode!
INFO: Logger set to DEBUG
DEBUG: Using locale en_GB.UTF-8
INFO: Running on /dev/pts/5
DEBUG: Shared::init() : Initialized.

GDB Backtrace

I didn't follow the backtrace procedure.
The issue is not of much importance for me, but I'm willing if asked to.