MrRio / vtop

Wow such top. So stats. More better than regular top.
http://parall.ax/vtop
MIT License
4.12k stars 150 forks source link

cannot search/filter processes #161

Open autoteelar opened 3 years ago

autoteelar commented 3 years ago

at least i dont know how to if it is possible, this would be beyond handy i think personally

tuh8888 commented 3 years ago

I made a branch in my fork to allow for this if you want to give it a try: https://github.com/tuh8888/vtop/tree/search It allows for searching using "/". I haven't figured out incremental search or how to go to the next/previous result though. Still, it makes vtop much easier to use.

autoteelar commented 3 years ago

nice!

tuh8888 commented 3 years ago

The underlying library vtop uses for displaying the process list, called blessed, also handles the underlying search and key events. That library hadn't implemented repeated searches ('n' and 'N' vi keys) so I created a pull request. Once they accept it, we should get that functionality for free in vtop. Until then, you can use it by running npm install https://github.com/tuh8888/blessed#repeat-search before building vtop.

mimshwright commented 2 years ago

I hope you consider adding this still!

autoteelar commented 2 years ago

it should work

On Sun, Mar 27, 2022 at 2:38 AM Mims H. Wright @.***> wrote:

I hope you consider adding this still!

— Reply to this email directly, view it on GitHub https://github.com/MrRio/vtop/issues/161#issuecomment-1079851810, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJQXMIXO2OTIUUCPQ7UJ7DVB767PANCNFSM4YH7QAWQ . You are receiving this because you authored the thread.Message ID: @.***>