-
Committer:
Jeffery To
-
Date:
2019-06-17 18:25:37 UTC
-
Revision ID:
jeffery.to@gmail.com-20190617182537-643f0wkp163t00dn
* usr/bin/byobu-ctrl-a.in,
usr/bin/byobu-janitor.in,
usr/share/byobu/keybindings/f-keys.screen,
usr/share/byobu/keybindings/f-keys.tmux:
- Fix ^A unbinding: ^A is bound in f-keys.screen / f-keys.tmux to
autorun byobu-ctrl-a, but if the user selected a different key in
byobu-config, it would unbind the custom key instead of ^A
- Use functions to help make the logic easier to understand
- Add "custom" and "manual" modes, that only unbind ^A ("emacs" mode
would also set prefix to F12 for tmux, possibly overriding the
user's custom prefix); "custom" when it is detected that the user
has customized their prefix before byobu-ctrl-a was run for the
first time, "manual" when the user just wants to disable the
autorun
- Add an "autorun" command line option, used when byobu-ctrl-a is
triggered by the user pressing ^A; in this case, byobu-ctrl-a will
wait for the user to press enter/return before exiting, so that
the user can read the text output before the window auto-closes
- Add a quit option, so that the user can exit byobu-ctrl-a without
making any changes