mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 06:56:58 +00:00
- New window option monitor-content to search for a string in a window, and
highlight the status line if it matches. - To make this possible, the function cmd_find_window_search from cmd-find-window.c had to be moved to window.c and renamed window_pane_search. - While there use three new functions in server.c to check for bell, activity, and content, to avoid too much nesting.
This commit is contained in:
3
tmux.c
3
tmux.c
@ -1,4 +1,4 @@
|
||||
/* $Id: tmux.c,v 1.119 2009-05-18 22:17:24 nicm Exp $ */
|
||||
/* $Id: tmux.c,v 1.120 2009-05-19 13:32:55 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -328,6 +328,7 @@ main(int argc, char **argv)
|
||||
options_set_number(&global_window_options, "mode-fg", 0);
|
||||
options_set_number(&global_window_options, "mode-keys", MODEKEY_EMACS);
|
||||
options_set_number(&global_window_options, "monitor-activity", 0);
|
||||
options_set_string(&global_window_options, "monitor-content", "%s", "");
|
||||
options_set_number(&global_window_options, "utf8", 0);
|
||||
options_set_number(&global_window_options, "window-status-attr", 0);
|
||||
options_set_number(&global_window_options, "window-status-bg", 8);
|
||||
|
Reference in New Issue
Block a user