Go to file
Nicholas Marriott 7e796dea03 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.
2009-06-24 22:49:56 +00:00
arg.c Don't access array[-1] if array is an empty string. 2009-06-02 11:18:59 +00:00
array.h Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
attributes.c Don't dereference NULL if buf winds up being empty. Can't happen 2009-06-02 11:14:08 +00:00
buffer-poll.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cfg.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
client-fn.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
client-msg.c Make code clearer: 2009-06-02 11:17:03 +00:00
client.c Call setproctitle earlier in the client, and include the socket name. Makes it 2009-06-05 07:15:58 +00:00
clock.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-attach-session.c Remove trailing newlines, spaces, and tabs. 2009-06-05 03:13:16 +00:00
cmd-bind-key.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-break-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-choose-session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-choose-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-clear-history.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-clock-mode.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-command-prompt.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-confirm-before.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-copy-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-copy-mode.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-delete-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-detach-client.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-down-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-find-window.c Change find-window and monitor-content to use fnmatch(3). For convenience and 2009-06-24 22:49:56 +00:00
cmd-generic.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-has-session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-kill-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-kill-server.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-kill-session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-kill-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-last-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-link-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-buffers.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-clients.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-commands.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-keys.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-sessions.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list-windows.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-list.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-load-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-lock-server.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-move-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-new-session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-new-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-next-layout.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-next-window.c Add missing documentation for the -a flag used to move to next/previous window 2009-06-03 15:58:40 +00:00
cmd-paste-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-previous-layout.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-previous-window.c Add missing documentation for the -a flag used to move to next/previous window 2009-06-03 15:58:40 +00:00
cmd-refresh-client.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-rename-session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-rename-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-resize-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-respawn-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-rotate-window.c Remove trailing newlines, spaces, and tabs. 2009-06-05 03:13:16 +00:00
cmd-save-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-scroll-mode.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-select-layout.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-select-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-select-prompt.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-select-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-send-keys.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-send-prefix.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-server-info.c Use vis(3) instead of handrolled function. 2009-06-03 19:37:27 +00:00
cmd-set-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-set-option.c New session option, status-utf8, to control the interpretation of top-bit-set 2009-06-03 16:54:26 +00:00
cmd-set-password.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-set-window-option.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-show-buffer.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-show-options.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-show-window-options.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-source-file.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-split-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-start-server.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-string.c strdup the input to putenv to avoid in one case passing a string that is later 2009-06-05 07:18:37 +00:00
cmd-suspend-client.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-swap-pane.c When swapping pane positions, swap the PANE_HIDDEN flag as well, otherwise tmux 2009-06-03 07:51:24 +00:00
cmd-swap-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-switch-client.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-unbind-key.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-unlink-window.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd-up-pane.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
cmd.c Print a better message than '(null)' if no command is specified ("tmux \;"). 2009-06-04 23:34:32 +00:00
colour.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
grid-view.c Add a dedicated function to convert a line into a string and use it to simplify the search window function. 2009-06-24 22:04:18 +00:00
grid.c Change find-window and monitor-content to use fnmatch(3). For convenience and 2009-06-24 22:49:56 +00:00
input-keys.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
input.c Implement the CBT (backward tab) sequence (\033[Z). 2009-06-04 21:02:21 +00:00
key-bindings.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
key-string.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
layout-manual.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
layout.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
log.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
Makefile Change find-window and monitor-content to use fnmatch(3). For convenience and 2009-06-24 22:49:56 +00:00
mode-key.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
names.c Remove trailing newlines, spaces, and tabs. 2009-06-05 03:13:16 +00:00
options-cmd.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
options.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
paste.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
procname.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
resize.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
screen-redraw.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
screen-write.c Remove trailing newlines, spaces, and tabs. 2009-06-05 03:13:16 +00:00
screen.c Change to match xterm's resizing behaviour, including pushing lines into the 2009-06-24 19:12:44 +00:00
server-fn.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
server-msg.c Terminate cwd buffer before running xstrdup on it. 2009-06-05 11:14:13 +00:00
server.c Change find-window and monitor-content to use fnmatch(3). For convenience and 2009-06-24 22:49:56 +00:00
session.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
status.c If the prompt is hidden or a password is sent with -U, zero it before freeing 2009-06-04 21:43:24 +00:00
tmux.1 Change find-window and monitor-content to use fnmatch(3). For convenience and 2009-06-24 22:49:56 +00:00
tmux.c LC_ALL overrides LC_CTYPE and LANG. Comment was correct but the code 2009-06-23 18:27:40 +00:00
tmux.h Change find-window and monitor-content to use fnmatch(3). For convenience and 2009-06-24 22:49:56 +00:00
tty-keys.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
tty-term.c Remove trailing newlines, spaces, and tabs. 2009-06-05 03:13:16 +00:00
tty-write.c Remove trailing newlines, spaces, and tabs. 2009-06-05 03:13:16 +00:00
tty.c Trying to predict the cursor position for UTF-8 output in the same way as for 2009-06-24 16:01:02 +00:00
utf8.c Constify utf8_width() function argument. 2009-06-24 05:35:07 +00:00
window-choose.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
window-clock.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
window-copy.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
window-more.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
window-scroll.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00
window.c Change find-window and monitor-content to use fnmatch(3). For convenience and 2009-06-24 22:49:56 +00:00
xmalloc.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00