diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-19 10:21:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-19 10:21:36 +0000 |
commit | de24fbb35ce763c5e905c726733a561f5fa34724 (patch) | |
tree | 543ef7b0b3226b235334b5689b9ce91cef97d756 /tmux.c | |
parent | 94f003bbec843d08205e9e8dff7819e1d5364138 (diff) | |
download | rtmux-de24fbb35ce763c5e905c726733a561f5fa34724.tar.gz rtmux-de24fbb35ce763c5e905c726733a561f5fa34724.tar.bz2 rtmux-de24fbb35ce763c5e905c726733a561f5fa34724.zip |
Add a bell-action option.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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"; |