Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot search/filter processes #161

Open
autoteelar opened this issue Feb 26, 2021 · 5 comments
Open

cannot search/filter processes #161

autoteelar opened this issue Feb 26, 2021 · 5 comments

Comments

@autoteelar
Copy link

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

@tuh8888
Copy link

tuh8888 commented Jul 7, 2021

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
Copy link
Author

nice!

@tuh8888
Copy link

tuh8888 commented Jul 9, 2021

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
Copy link

I hope you consider adding this still!

@autoteelar
Copy link
Author

autoteelar commented Mar 29, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants