htop
htop copied to clipboard
Feature: Quick toggle for showing userland process' threads
Right now F2, Down, Right, Down, Down, Down, Down, Space, F10 is a bit too long of a sequence for such an important feature, in my opinion. I find myself toggling this often.
On the other hand, I don't think I've ever used the Nice- (F7) and Nice+ (F8) shortcuts. Also the Kill (F9) is redundant as K does the same.
This would be nice to make this configurable.
That's already implemented using Shift+H for userland threads and Shift+K for kernel threads. This is also documented if you press F1, ? or H (without Shift).
Ah, amazing! A discoverability feature then could be to also document the existing shortcuts in the Options menu.
Both F9 and K intentionally exist, as on some systems the function keys are inaccessible for various reasons. Having both shortcuts available allows to still use these features even if the keymap is inadvertently broken.
Best example is F10, which gnome-terminal grabs for itself to show a graphical menu. Thus having the alternative Q available, to exit htop properly, is essential.
The list of aliases is documented on the help screen. We usually try to have each feature reachable without relying on special keys too much.
Any opinion on adding them here (that will probably help a lot of people figure out that that is possible)?
Could be \033[2m for dimmer rendering.
@mcourteaux
Any option on adding them here (that will probably help a lot of people figure out that that is possible)?
I don't think documenting the hotkey there would help usability as the hotkeys would definitely not work with the Setup screen itself.
The help screen is a better place to do it, and the man page as well.