adjust default command list

re-structure it so that we have a list of default action values,
and a function that can compute the command description from them.

This allows describing user-specified actions in the future,
as well as reducing some boilerplate: we can now generate eg:
ActivateTab(n) description text without hardcoding similar
alternatives.

refs: https://github.com/wez/wezterm/issues/1485
This commit is contained in:
Wez Furlong committed 2022-12-21 11:00:45 -07:00
1 parent 37b5dd91a5
commit 669fec9a9f
1 file changed
+638 -714
File diff suppressed because it is too large. Load diff