From de24fbb35ce763c5e905c726733a561f5fa34724 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 19 Oct 2007 10:21:36 +0000 Subject: Add a bell-action option. --- tmux.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tmux.c') 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 @@ -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"; -- cgit v1.2.3