xeliuqa / SM-Monitor

Simple monitor for Spacemesh nodes
18 stars 8 forks source link

RWD field not showing in tmux #50

Closed chrcao closed 4 months ago

chrcao commented 4 months ago

version: v4.07

os: ubuntu 22

cmd: tmux new -s sm-main-net pwsh sm-monitor.ps1

xeliuqa commented 4 months ago

Hi, can you elaborate more on the problem you are having? Did you install PowerShell 7.+

chrcao commented 4 months ago

pt@pt:~/smh/tools/sm-monitor-4.07$ pwsh -v PowerShell 7.4.2

cmd: pwsh sm-monitor.ps1 1718022190052

cmd: tmux new -s sm-main-net pwsh sm-monitor.ps1 1718022283874

xeliuqa commented 4 months ago

Ahh I see what you mean. I also see that you've been messing with the code, so perhaps you deleted something you shouldn't?

chrcao commented 4 months ago

Thanks for making such a great tool, but I don't understand your question. Do you mean that I deleted the tip and it caused the problem?

1718069867240

Stizerg commented 4 months ago

That is correct, it won't work without that message ;) It's there, you just can't see it because of different colour palette and it set foreground colour the same as background. If you dblclick to the place where should be the number it will be selected. image image Try to change the colours of terminal image

Stizerg commented 4 months ago

or around line 932 find this $foregroundColor = "DarkGray" and change that colour to what works for you