Like in Midnight Commander and some other TUI apps, it would be nice to support more function keys. The reason I use them is two-fold:
I use several keyboard layouts and some of them are non-Latin. This means some single-letter keyboard shortcuts stop working as I switch between layouts. You don't have this problem with function keys. But it does mean you might need more than the standard twelve :)
With more function keys recognized, you can have easy-to-remember "parallel" bindings. E. g. F6 invokes select-project and shift + F6 (which is F18 in my Docker container) invokes search-project. Or F4 can edit a task, while shift + F4 edits a tasks in an external editor.
Anyway, I've attached a simple patch, tested it with 3.14.0 and 3.15.1.
key.py.diff.gz
Like in Midnight Commander and some other TUI apps, it would be nice to support more function keys. The reason I use them is two-fold:
F6
invokesselect-project
andshift + F6
(which isF18
in my Docker container) invokessearch-project
. OrF4
can edit a task, whileshift + F4
edits a tasks in an external editor.Anyway, I've attached a simple patch, tested it with 3.14.0 and 3.15.1. key.py.diff.gz