From 80af85a102bcb4c91d6ce08102131a4654212d80 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Tue, 19 May 2009 13:32:55 +0000 Subject: - 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. --- tmux.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 26958238..7ebc5625 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.96 2009-05-18 21:58:40 nicm Exp $ +.\" $Id: tmux.1,v 1.97 2009-05-19 13:32:55 tcunha Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -1156,6 +1156,11 @@ Key bindings default to emacs. .Xc Monitor for activity in the window. Windows with activity are highlighted in the status line. +.It Xo Ic monitor-content Ar match-string +.Xc +Monitor content in the window. When +.Ar match-string +appears in the window, it is highlighted in the status line. .It Xo Ic remain-on-exit .Op Ic on | Ic off .Xc -- cgit