summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-19 10:21:36 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-19 10:21:36 +0000
commitde24fbb35ce763c5e905c726733a561f5fa34724 (patch)
tree543ef7b0b3226b235334b5689b9ce91cef97d756 /tmux.c
parent94f003bbec843d08205e9e8dff7819e1d5364138 (diff)
Add a bell-action option.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index 5314f863..25c269f3 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.32 2007-10-12 17:52:41 nicm Exp $ */
+/* $Id: tmux.c,v 1.33 2007-10-19 10:21:35 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -42,6 +42,7 @@ int prefix_key = META;
u_int status_lines;
u_char status_colour;
char *default_command;
+int bell_action;
void sighandler(int);
@@ -199,6 +200,8 @@ main(int argc, char **argv)
status_lines = 1;
status_colour = 0x02;
+ bell_action = BELL_ANY;
+
shell = getenv("SHELL");
if (shell == NULL || *shell == '\0')
shell = "/bin/ksh";