diff options
author | nicm <nicm> | 2017-07-26 16:14:08 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-07-26 16:14:08 +0000 |
commit | 76887b1d27386b5418f953064d7e47389a6831be (patch) | |
tree | c0a5c8ad41f9cefdfcfeade15522cd57cba557cc /tmux.h | |
parent | 3bb426d92c482396fb7b1a8f8bc1c5ab525da1c6 (diff) | |
download | rtmux-76887b1d27386b5418f953064d7e47389a6831be.tar.gz rtmux-76887b1d27386b5418f953064d7e47389a6831be.tar.bz2 rtmux-76887b1d27386b5418f953064d7e47389a6831be.zip |
Make bell, activity and silence alerting more consistent:
- remove the bell-on-alert option;
- add activity-action and silence-action options with the same possible
values as the existing bell-action;
- add "both" value for the visual-bell, visual-activity and
visual-silence options to trigger both a bell and a message.
This means all three work the same way. Based on changes from Yvain Thonnart.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -83,6 +83,11 @@ struct tmuxproc; #define BELL_CURRENT 2 #define BELL_OTHER 3 +/* Visual option values. */ +#define VISUAL_OFF 0 +#define VISUAL_ON 1 +#define VISUAL_BOTH 2 + /* Special key codes. */ #define KEYC_NONE 0xffff00000000ULL #define KEYC_UNKNOWN 0xfffe00000000ULL |