Rewrite of the target resolution internals to be simpler and more
authornicm <nicm@openbsd.org>
Mon, 27 Apr 2015 16:25:57 +0000 (16:25 +0000)
committernicm <nicm@openbsd.org>
Mon, 27 Apr 2015 16:25:57 +0000 (16:25 +0000)
commitf65f2164b1efdb9bfdf8ab5b7ff4ac1b99bfb967
tree4fba9767ed0806adc7ebc37adba9f7dc0149b06e
parente520a0ec7a758fda4db3d6ff0e78ab2c0013225e
Rewrite of the target resolution internals to be simpler and more
consistent but with much less duplication, but keeping the same internal
API. Also adds more readable aliases for some of the special tokens used
in targets (eg "{start}" instead of "^"). Some behaviours may have
changed, for example prefix matches now happen before fnmatch.
13 files changed:
usr.bin/tmux/Makefile
usr.bin/tmux/cmd-choose-buffer.c
usr.bin/tmux/cmd-choose-client.c
usr.bin/tmux/cmd-choose-tree.c
usr.bin/tmux/cmd-display-message.c
usr.bin/tmux/cmd-find-window.c
usr.bin/tmux/cmd-find.c [new file with mode: 0644]
usr.bin/tmux/cmd-load-buffer.c
usr.bin/tmux/cmd-new-session.c
usr.bin/tmux/cmd-save-buffer.c
usr.bin/tmux/cmd.c
usr.bin/tmux/tmux.1
usr.bin/tmux/tmux.h