Thanks Will, I had been using ctrl-c to terminate it, I'll use q instead. Does the same thing apply to Konsole which seems to internally be taking that shortcut?On Fri, 15 Nov 2024 at 22:59, Stephen Morris <steve.morris.au@gmail.com> wrote:
While on the subject of HTOP internals, at the bottom of its screen it shows a list of keyboard shortcuts, one of which is F10 for Exit. The issue I have with that is Konsole has taken over that shortcut for its menus, hence it doesn't work in HTOP. How do I change that?
Htop's keybinds don't seem to be overridable in any obvious way.
https://github.com/htop-dev/htop/blob/4102862d12695cdf003e2d51ef6ce5984b7136d7/Action.c#L693 (sort of hand-rolling your own compiled package or binary, which isn't a great idea unless it really, *really* bugs you.)
You can just use 'q' instead as an alternative. cf: https://www.man7.org/linux/man-pages/man1/htop.1.html#INTERACTIVE_COMMANDS
> F10, q
> Quit