aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-07-26 16:14:08 +0000
committernicm <nicm>2017-07-26 16:14:08 +0000
commit76887b1d27386b5418f953064d7e47389a6831be (patch)
treec0a5c8ad41f9cefdfcfeade15522cd57cba557cc /tmux.h
parent3bb426d92c482396fb7b1a8f8bc1c5ab525da1c6 (diff)
downloadrtmux-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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 855a1dff..d8959571 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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