mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #16] [Bug] display issue when running inside tmux #14
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Cveinnt on GitHub (May 11, 2022).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/16
Runtime Environment
nvitopversion: main@latestCurrent Behavior
When running
nvitopinside tmux, the rendered display will become messed up, as shown in the screenshots. This behavior is not present when not using tmux.Steps to Reproduce
Images / Videos
@XuehaiPan commented on GitHub (May 11, 2022):
Hi @Cveinnt, what's your
tmuxversion?Is your
tmuxcompiled withncursescorrectly?I cannot reproduce this on my Ubuntu 16.04 LTS machine with
tmux2.1 and ncurses 5.@Cveinnt commented on GitHub (May 11, 2022):
Hi @XuehaiPan ,
tmux -Vyieldstmux 2.1for me.I installed the package with
apt, and have no previous display issue with tmux prior.The bug only seems to appear when
nvitopis in resource monitor mode (in tmux), asnvitop -1etc. still produces normal display.@XuehaiPan commented on GitHub (May 11, 2022):
Can you try:
nvitop -1will not initialize ncurses window. It just print results to the terminal.@Cveinnt commented on GitHub (May 11, 2022):
Here's the output
It looks like python is looking for
libncursesw6, when I only have 5.@XuehaiPan commented on GitHub (May 11, 2022):
@Cveinnt You can uninstall
nvitopin your conda environment. Then install it with system Python:@Cveinnt commented on GitHub (May 11, 2022):
Thanks - this worked for me. Closing the issue now.
C.UTF-8is not available #121