summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd.c
AgeCommit message (Expand)Author
2017-05-30Rewrite of choose mode, both to simplify and tidy the code and to addNicholas Marriott
2017-04-22Get rid of the extra layer of flags and cmd_prepare() and just store theNicholas Marriott
2017-04-21Make the cmd_find_* functions more obvious when looking for a client,Nicholas Marriott
2017-01-24server-info can become an alias rather than a command.Nicholas Marriott
2017-01-24Add support for custom command aliases, this is an array option whichNicholas Marriott
2017-01-16Revert WIP parts of previous I didn't mean to commit yet.Nicholas Marriott
2017-01-16getopt() has a struct option so just return to using options_entry.Nicholas Marriott
2017-01-10Need to escape ; twice because the command list parser will eat one,Nicholas Marriott
2017-01-10Quote backslash as well for %%%.Nicholas Marriott
2017-01-06Incremental search in copy mode (on for emacs keys by default) - muchNicholas Marriott
2016-12-28Fix the prefer unattached session behaviour ofNicholas Marriott
2016-11-02Make an empty state on error rather than leaving something partiallyNicholas Marriott
2016-10-21Add %%% to substitute with quotes escaped (convert " to \"). Use thisNicholas Marriott
2016-10-16Mass rename struct cmd_q to struct cmdq_item and related.Nicholas Marriott
2016-10-16Rewrite command queue handling. Each client still has a command queue,Nicholas Marriott
2016-10-13Some improvements and bug fixes for hooks:Nicholas Marriott
2016-10-05Allow cmd_mouse_at return arguments to be NULL.Nicholas Marriott
2016-03-01Remove some more unused variables, and use RB_FOREACH_SAFE inNicholas Marriott
2016-01-19Split out getting the current state from the target search so it can beNicholas Marriott
2016-01-19I no longer use my SourceForge address so replace it.Nicholas Marriott
2015-12-14Use cmd_find_clear_state instead of an extra function doing the same.Nicholas Marriott
2015-12-14Instead of combined flags for -c, -s, -t, split into different setsNicholas Marriott
2015-12-13Use member names in cmd_entry definitions so I stop getting confusedNicholas Marriott
2015-12-13Actually I thought cmd_get_state_client was unnecessary but it will beNicholas Marriott
2015-12-13-c needs to be able for fail for display-message.Nicholas Marriott
2015-12-13Remove an unnecessary function.Nicholas Marriott
2015-12-13Don't log an error when doing the first check for move-window.Nicholas Marriott
2015-12-13Use struct cmd_find_state directly and remove cmd_state_flag, alsoNicholas Marriott
2015-12-13Change cmd_find_target to use a state struct from the caller.Nicholas Marriott
2015-12-13Remove the cmd_find_{session,window,pane,index} functions (which areNicholas Marriott
2015-12-13Move logging into cmd_find_target rather than each function.Nicholas Marriott
2015-12-13Instead of every command resolving the target (-t or -s) itself, prepareNicholas Marriott
2015-12-08Add hooks infrastructure, basic commands (set-hook, show-hooks) and aNicholas Marriott
2015-11-27Do not set a limit on the length of commands when printing them.Nicholas Marriott
2015-09-01All the cmd_*_entry declarations do not need to be in tmux.h.Nicholas Marriott
2015-04-27Rewrite of the target resolution internals to be simpler and moreNicholas Marriott
2015-04-25Make message log a TAILQ.Nicholas Marriott
2015-04-25Move the functions to convert ids from strings into session.c and window.c.Nicholas Marriott
2015-04-24Convert clients list into a TAILQ.Nicholas Marriott
2015-04-21Look up indexes as number before name, makes more sense if windows areNicholas Marriott
2015-04-19Rewrite of tmux mouse support which was a mess. Instead of havingNicholas Marriott
2014-10-08Add xreallocarray and remove nmemb argument from xrealloc.Nicholas Marriott
2014-09-25Support using pane id as part of session or window specifier (so %1Nicholas Marriott
2014-09-25Support ! for last pane.Nicholas Marriott
2014-07-13Show an error if cmd_find_session can't find the current session, likeNicholas Marriott
2014-05-13If multiple arguments are given to new-session, new-window,Nicholas Marriott
2014-05-09Just use char ** for argv like normal people, not char *const *.Nicholas Marriott
2014-04-16Remove the choose-list command to prepare for some later choose-* work.Nicholas Marriott
2014-03-31Don't write into buffer if no arguments, reported by Filipe Rosset.Nicholas Marriott
2014-01-09Allow attach-session -t to accept a window and pane to select them onNicholas Marriott