aristocratos / aristocratos/bashtop
[BUG] Toggling Check-Temp resets cursor location
- Dominant language
- Shell
- Stars
- 11.1k
- Forks
- 555
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Toggling the Check Temp between false and true in the Options menu changes the selected item from Check Temp to Color Theme.
I do have unique environment information; I have attached full system info and a shortened human friendly system info:
- I am running debian 4.19 (current stable release) in Oracle Virtualbox.
- I am running bashtop in tmux in Konsole with bash.
-
[hsysinfo.txt](https://github.com/aristocratos/bashtop/files/6601910/hsysinfo.txt)
[sysinfo.txt](https://github.com/aristocratos/bashtop/files/6601911/sysinfo.txt)
**To Reproduce**
1. In current debian stable release with a fresh install of bashtop start Konsole terminal.
2. Start tmux and split the window with ctrl+b+% and ctrl+b+" . Start bashtop.
3. Press m to open the options menu. Given the settings in the screenshot below, toggle "Check temp:" .
4. The highlighted menu entry will change to the top entry of "Color theme: 7/10" .
**Expected behavior**
The other menu options do not behave this way when toggled. The selected menu entry should not change.
**Screenshots**
[Options menu settings](https://i.imgur.com/zBHVXoM.png)
**Info (please complete the following information):**
- Bashtop version: 0.9.25
- (Linux) Linux distribution and version: Debian GNU/Linux 10
- (Linux) Data collection type (/proc or psutil): psutil
- Psutil version: `python3 -c "import psutil; print(psutil.version_info)"` (version 5.7.0 or above is required): 5.8.0
- Terminal used: Konsole with tmux
- Font used: Hack Regular 9
- Bash version, `bash --version` (version 4.4 or above is required): 5.0.3
- Locales: output of `locale -v`
`LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
`
**Additional context**
contents of `$HOME/.config/bashtop/error.log`
No errors generated.
(enable error-logging in "$HOME/.config/bashtop/bashtop.cfg" if missing)
Contributor guide
Assessment
This issue has not been assessed yet.