tmux icon indicating copy to clipboard operation
tmux copied to clipboard

Bug: doesn't display ram value

Open babepig018 opened this issue 1 year ago β€’ 1 comments

Describe the bug

the value of ram doesn't display on my os

Screenshots

vpldII.png

System

  • OS: Arch Linux
  • Tmux Version:3.3a

babepig018 avatar Jul 27 '22 09:07 babepig018

I get a similar issue too. CPU usage disappears and RAM usage only displays partially.

System

  • OS: macOS 12.6
  • Tmux: 3.3a
  • Terminal emulator: Alacritty 0.10.1
Screen Shot 2022-09-25 at 2 33 49 am

yuhsienchiang avatar Sep 24 '22 16:09 yuhsienchiang

Solved! check its source code

2022-10-19_12-03

It get data by intercepting the output of free

But I set the system LANG to Chinese, the free output is chinese too

2022-10-19_12-08

so it can't get the data

the solved is change the source code in ~/.tmux/plugins/tmux/scripts/ram_info.sh, like this

2022-10-19_12-12

babepig018 avatar Oct 19 '22 04:10 babepig018

@babepig018 My PR #189 should solve your problem. Can you confirm? ☺️

IGLOU-EU avatar Jan 21 '23 10:01 IGLOU-EU