maded2 / plotng

PlotNG - plotting utility for Chia.Net
Apache License 2.0
128 stars 24 forks source link

Move Between Sections in UI? #48

Closed x86txt closed 3 years ago

x86txt commented 3 years ago

Hi - first, thank you for this great tool!

Is there a way to move between sections in the UI so we can scroll down beyond what is displayed? For example, I have 39 "Archived Plots" but I can only see the most recent 7.

maded2 commented 3 years ago

You should be able to click on the archived plot with your mouse and scroll using your mouse wheel

x86txt commented 3 years ago

This apparently doesn't work on Windows. Clicking in any other section doesn't do anything. But you can scroll in the 'Active Plots' Window. When I use the scroll wheel, it scrolls the Windows Terminal history. I've attached a video demonstrating it.

edit: This is non-functional in Windows Terminal. If I open the old "cmd.exe" it works correctly. I'm fine using cmd.exe, so close if you wish. Thanks!

https://user-images.githubusercontent.com/34278354/118768727-569c2b80-b84d-11eb-8230-fe75feb0d862.mp4

yarruslan commented 3 years ago

Hi This is a limitation of a library and Terminal app, not something can be fixed in plotng. Docs of github.com/gdamore/tcell: The Windows 10 Terminal application suffers from a flaw in this regard, and does not support mouse interaction. The stock Windows 10 console host fired up with cmd.exe or PowerShell works fine however. Maybe it'll be fixed there someday.

maded2 commented 3 years ago

I will add the ability to use the TAB key to cycle between different panels so that you can use either mouse wheel / cursor keys to scroll the tables

TheGoblinHero commented 3 years ago

I'm using linux and access plotng with ssh - mouse clicks doesn't work for me too (but midnight commander works with the mouse, so looks like my terminal is ok). +1 for the tab key support.

x86txt commented 3 years ago

I will add the ability to use the TAB key to cycle between different panels so that you can use either mouse wheel / cursor keys to scroll the tables

You're awesome, thanks!

maded2 commented 3 years ago

implemented in v0.20