Go to file
Nicholas Marriott 5f108d9df6 Having fixed flags for single-character getopt options is a bit hard to
maintain and is only going to get worse as more are used. So instead, add a new
uint64_t member to cmd_entry which is a bitmask of upper and lowercase options
accepted by the command.

This means new single character options can be used without the need to add it
explicitly to the list.
2009-07-13 23:11:35 +00:00
Makefile Tidy up and improve target (-t) argument parsing: 2009-07-13 17:47:46 +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 Nuke unused buffer functions. Found by lint. 2009-06-25 06:05:47 +00:00
buffer.c Nuke unused buffer functions. Found by lint. 2009-06-25 06:05:47 +00:00
cfg.c Unused prototypes. Found by lint, no binary change. 2009-06-25 06:00:45 +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 Remove some dead assignments, found by sthen with clang. 2009-06-25 22:09:20 +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 Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-bind-key.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-break-pane.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-choose-session.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-choose-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-clear-history.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-clock-mode.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-command-prompt.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-confirm-before.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-copy-buffer.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-copy-mode.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-delete-buffer.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-detach-client.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-down-pane.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-find-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-generic.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-has-session.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-if-shell.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-kill-pane.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-kill-server.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-kill-session.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-kill-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-last-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-link-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-list-buffers.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-list-clients.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-list-commands.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-list-keys.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-list-sessions.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-list-windows.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +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 Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-lock-server.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-move-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-new-session.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-new-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-next-layout.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-next-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-paste-buffer.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-previous-layout.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-previous-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-refresh-client.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-rename-session.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-rename-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-resize-pane.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-respawn-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-rotate-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-save-buffer.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-scroll-mode.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-select-layout.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-select-pane.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-select-prompt.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-select-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-send-keys.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-send-prefix.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-server-info.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-set-buffer.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-set-option.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-set-password.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-set-window-option.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-show-buffer.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-show-options.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-show-window-options.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-source-file.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-split-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-start-server.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-string.c Expand leading tildes in arguments, from Tiage Cunha. 2009-07-13 18:49:36 +00:00
cmd-suspend-client.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-swap-pane.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-swap-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-switch-client.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-unbind-key.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-unlink-window.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd-up-pane.c Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +00:00
cmd.c Tidy up and improve target (-t) argument parsing: 2009-07-13 17:47:46 +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 Support "alternate screen" mode (terminfo smcup/rmcup) typically used by full 2009-07-13 10:43:52 +00:00
grid.c Support "alternate screen" mode (terminfo smcup/rmcup) typically used by full 2009-07-13 10:43:52 +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 Support "alternate screen" mode (terminfo smcup/rmcup) typically used by full 2009-07-13 10:43:52 +00:00
key-bindings.c Creating a key binding which replaces itself (such as "bind x bind x lsw") 2009-07-12 17:33:18 +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 tmux doesn't and won't need syslog logging, so remove it and some other unused 2009-06-25 06:23:10 +00:00
mode-key.c Add a "back to indentation" key in copy mode to move the cursor to the first 2009-07-12 16:15:34 +00:00
names.c Just appending -l to $SHELL to create a login shell is wrong: -l is not POSIX, 2009-07-08 05:26:45 +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 Fix two copy/paste bugs: forbid zero-length buffers to prevent a fatal error 2009-07-02 16:15:43 +00:00
procname.c Also #ifndef nitems here, caught by Thomas Jeunet. 2009-06-26 10:55:37 +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 Unused variables. Found by lint, no binary change. 2009-06-25 05:56:44 +00:00
screen-write.c Cursor up and down should be limited by the scroll region (cuu should stop at 2009-07-09 17:57:11 +00:00
screen.c Support "alternate screen" mode (terminfo smcup/rmcup) typically used by full 2009-07-13 10:43:52 +00:00
server-fn.c Add a default-terminal option to set the starting value of $TERM in new 2009-07-10 05:50:54 +00:00
server-msg.c Handle empty or unset TERM correctly; also fix a fatal() message while here. 2009-07-07 17:24:32 +00:00
server.c Creating a key binding which replaces itself (such as "bind x bind x lsw") 2009-07-12 17:33:18 +00:00
session.c Rename the global options variables to be shorter and to make session options 2009-07-07 19:49:19 +00:00
status.c Add a "back to indentation" key in copy mode to move the cursor to the first 2009-07-12 16:15:34 +00:00
tmux.1 zap trailing whitespace; 2009-07-13 20:14:23 +00:00
tmux.c Add a default-terminal option to set the starting value of $TERM in new 2009-07-10 05:50:54 +00:00
tmux.h Having fixed flags for single-character getopt options is a bit hard to 2009-07-13 23:11:35 +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 Miscellaneous unused functions, including one which was basically a 2009-06-25 06:15:04 +00:00
tty.c Don't send initialisation strings is1/2/3 (barely anything else does) and move 2009-07-10 07:11:59 +00:00
utf8.c Miscellaneous unused functions, including one which was basically a 2009-06-25 06:15:04 +00:00
window-choose.c Now that a UTF-8-capable puts function exists, use it for printing strings in 2009-06-24 23:00:31 +00:00
window-clock.c Use gmtime_r so the current time isn't overwritten, the minute comparison works 2009-06-27 14:40:22 +00:00
window-copy.c Add a "back to indentation" key in copy mode to move the cursor to the first 2009-07-12 16:15:34 +00:00
window-more.c Miscellaneous unused functions, including one which was basically a 2009-06-25 06:15:04 +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 Support "alternate screen" mode (terminfo smcup/rmcup) typically used by full 2009-07-13 10:43:52 +00:00
xmalloc.c Import tmux, a terminal multiplexor allowing (among other things) a single 2009-06-01 22:58:49 +00:00