summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-new-window.c
AgeCommit message (Expand)Author
2021-08-27Replace %% in command lists (by copying them) for template arguments ,Nicholas Marriott
2021-08-21Rename a member to match what it will be in future.Nicholas Marriott
2021-08-21Add args parsing callback for some future work, currently unused.Nicholas Marriott
2021-08-20Hide struct args behind a couple of accessor functions.Nicholas Marriott
2021-08-20Remove some unnecessary blank lines.Nicholas Marriott
2021-08-20Expose args_value struct (will be needed soon) and add some missing frees.Nicholas Marriott
2021-02-05Add a -S flag to new-window to make it select the existing window if oneNicholas Marriott
2020-06-25Silently ignore -a or -b if the window index doesn't exist and createNicholas Marriott
2020-06-13Add -b flags to insert a window before (like the existing -a for after)Nicholas Marriott
2020-04-13Make client -c and -t handling common in cmd-queue.c and try to beNicholas Marriott
2020-04-13Move cmdq_state into cmd-queue.c.Nicholas Marriott
2020-04-13Rename cmdq_shared to cmdq_state which will better reflect what it isNicholas Marriott
2020-04-13Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsNicholas Marriott
2020-04-13Make struct cmd local to cmd.c and move it out of tmux.h.Nicholas Marriott
2020-04-03Use new window and new pane as well for -P to new-session or new-window.Nicholas Marriott
2020-03-31Add a way to mark environment variables as "hidden" so they can be usedNicholas Marriott
2019-09-19Add a "latest" window-size option which tries to size windows based onNicholas Marriott
2019-04-28Support multiple occurances of the same argument. Use this for a newNicholas Marriott
2019-04-26Merge hooks into options and make each one an array option. This allowsNicholas Marriott
2019-04-17Break new window and pane creation common code from various commands andNicholas Marriott
2018-07-15Fix new-window -k, GitHub issue 1403.Nicholas Marriott
2018-05-24Make server_client_get_cwd used (almost) everywhere we need to work outNicholas Marriott
2018-05-03Use window target if specified and exists even when looking for anNicholas Marriott
2018-03-01Expand formats in window and session names.Nicholas Marriott
2017-08-30Pass flags into cmd_find_from_* to fix prefer-unattached, reported byNicholas Marriott
2017-07-21Add -c for respawn-pane and respawn-window, from J Raynor.Nicholas Marriott
2017-04-22Get rid of the extra layer of flags and cmd_prepare() and just store theNicholas Marriott
2017-04-22Mouse bindings and hooks set up an initial current state when running aNicholas Marriott
2017-04-21More unnecessary arguments now winlink points back to session.Nicholas Marriott
2017-03-08Add a helper function for the most common format_create/defaults/expandNicholas Marriott
2017-02-03Add a window or pane id "tag" to each format tree and use it to separateNicholas Marriott
2016-10-16Use the notify name string instead of going via an enum and changeNicholas 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-13Trying to do hooks generically is way too complicated and unreliable andNicholas Marriott
2016-10-13Some improvements and bug fixes for hooks:Nicholas Marriott
2016-10-10Add static in cmd-* and fix a few other nits.Nicholas Marriott
2016-01-19I no longer use my SourceForge address so replace it.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-13Use struct cmd_find_state directly and remove cmd_state_flag, alsoNicholas Marriott
2015-12-13Instead of every command resolving the target (-t or -s) itself, prepareNicholas Marriott
2015-12-11Add cmdq as an argument to format_create and add a format for theNicholas Marriott
2015-12-08Remove format_create_flags and just pass flags to format_create.Nicholas Marriott
2015-11-20Memory leaks and an uninitialized part of utf8_data, from Patrick Palka.Nicholas Marriott
2015-10-31Fall back silently to ~ or / rather than checking -c with access(), thisNicholas Marriott
2015-10-31Because pledge(2) does not allow us to pass directory file descriptorsNicholas Marriott
2015-10-28Like options, move the environ struct into environ.c.Nicholas Marriott
2015-10-27Move struct options into options.c.Nicholas Marriott
2015-10-23Remove some unnecessary checks before free().Nicholas Marriott