mirror of
https://github.com/tmux/tmux.git
synced 2025-09-24 20:18:33 +00:00
d358a352c0d29f66c62f52f1f4426d6f90832abd

- move the code back into cmd.c and merge with the existing functions where possible; - accept "-tttyp0" as well as "-t/dev/ttyp0" for clients; - when looking up session names, try an exact match first, and if that fails look for it as an fnmatch pattern and then as the start of a name - if more that one session matches an error is given; so if there is one session called "mysession", -tmysession, -tmysess, -tmysess* are equivalent but if there is also "mysession2", the last two are errors; - similarly for windows, if the argument is not a valid index or exact window name match, try it against the window names as an fnmatch pattern and a prefix.
Description
tmux source code
Languages
C
87.5%
Roff
7.1%
Shell
2.7%
Yacc
1.3%
M4
0.8%
Other
0.5%