diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-06-24 22:49:57 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-06-24 22:49:57 +0000 |
commit | d2c48d8397137f3a735b3c5dc72576d5acc1222e (patch) | |
tree | 74796f3af1ffed75cceadd38b265f2b7400566dc /usr.bin/tmux/tmux.1 | |
parent | cf4d2a9f2dbc1c2c23122b99c17349f01e64f168 (diff) |
Change find-window and monitor-content to use fnmatch(3). For convenience and
compatibility, *s are implicitly added at the start and end of the pattern.
Also display the line number and the entire line in the results, and lose the
nasty section_string function and the now empty util.c file.
Initially from Tiago Cunha.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r-- | usr.bin/tmux/tmux.1 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index a3c6a3c6239..17e03f4a737 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.15 2009/06/24 08:13:22 jmc Exp $ +.\" $OpenBSD: tmux.1,v 1.16 2009/06/24 22:49:56 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -664,7 +664,9 @@ Move down a pane. .Ar match-string .Xc .D1 (alias: Ic findw ) -Search for +Search for the +.Xr fnmatch 3 +pattern .Ar match-string in window names, titles, and visible content (but not history). If only one window is matched, it'll be automatically selected, otherwise a @@ -1316,6 +1318,8 @@ Windows with activity are highlighted in the status line. .Xc Monitor content in the window. When +.Xr fnmatch 3 +pattern .Ar match-string appears in the window, it is highlighted in the status line. .It Xo Ic remain-on-exit |