summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-07-03 19:07:54 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-07-03 19:07:54 +0000
commitf12158bc258c9d1e1d64d55c436b5a94adabd3e8 (patch)
treefe08504531815eb8dc8b691b424dd60c717f4d1b /options-table.c
parent94f86edfee9480b0e35af8adc2e4371b3caa3bca (diff)
Add an option to trigger the terminal bell when there is an alert, from
Marco Beck.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 4b2f40bc..4a385051 100644
--- a/options-table.c
+++ b/options-table.c
@@ -98,6 +98,11 @@ const struct options_table_entry session_options_table[] = {
.default_num = BELL_ANY
},
+ { .name = "bell-on-alert",
+ .type = OPTIONS_TABLE_FLAG,
+ .default_num = 0
+ },
+
{ .name = "default-command",
.type = OPTIONS_TABLE_STRING,
.default_str = ""