summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-run-shell.c
AgeCommit message (Expand)Author
2020-04-13Make client -c and -t handling common in cmd-queue.c and try to beNicholas 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-10Now that copy mode copies the pane content rather than keeping aNicholas Marriott
2020-03-21Preserve exit status from run-shell and pass to the client.Nicholas Marriott
2020-03-19Add a flag to run a background process in a pty as well, not used forNicholas Marriott
2020-03-13Do not add a reference to the session if no session is present.Nicholas Marriott
2020-03-12Add a -d flag to run-shell to wait for delay before running the command,Nicholas Marriott
2019-06-18Add a cmdq_continue function rather than twiddling the flag directly.Nicholas Marriott
2019-03-12Allow multiple modes to be open in a pane. A stack of open modes is keptNicholas Marriott
2019-03-08Make the mode used to view command output (a variant of copy mode) useNicholas Marriott
2019-03-07Tidy changing the mode into window_copy_init_for_output.Nicholas Marriott
2018-08-27Memory leaks, from Gang Fan in GitHub issue 1453.Nicholas Marriott
2018-08-23Move job struct into job.c.Nicholas Marriott
2018-05-24Make server_client_get_cwd used (almost) everywhere we need to work outNicholas Marriott
2018-03-08Add a missing client-detached hook when the server shuts down, and doNicholas Marriott
2017-08-30Pass flags into cmd_find_from_* to fix prefer-unattached, reported byNicholas Marriott
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-04-20If a #() command doesn't exit, use its most recent line of output (itNicholas Marriott
2017-03-08Add a helper function for the most common format_create/defaults/expandNicholas Marriott
2017-02-16Style nits.Nicholas Marriott
2017-02-03Add a window or pane id "tag" to each format tree and use it to separateNicholas Marriott
2016-11-12Apply the right fix for run -b, used the wrong diff before.Nicholas Marriott
2016-11-11Do not crash with run-shell -b and no window pane available, reported byNicholas 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-15Only use pane with run-shell if -t is given.Nicholas Marriott
2016-10-10Add static in cmd-* and fix a few other nits.Nicholas Marriott
2016-10-09Pass file/line to new command for if-shell so that errors appearNicholas Marriott
2016-02-12Expand client formats in run-shell.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-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-10-31Because pledge(2) does not allow us to pass directory file descriptorsNicholas Marriott
2015-09-16Rename cmd_q dead flag to a general flags bitmask (will be more flags later).Nicholas Marriott
2015-04-24Set working directory for run-shell and if-shell.Nicholas Marriott
2015-02-05Wrap all the individual format_* calls in a single format_defaultsNicholas Marriott
2014-10-20Instead of setting up the default keys by building the key structNicholas Marriott
2014-04-17Remove the "info" message mechanism, this was only used for about fiveNicholas Marriott
2013-10-10Remove the barely-used and unnecessary command check() function.Nicholas Marriott
2013-03-25Try to establish client for run-shell and if-shell if no -t.Nicholas Marriott
2013-03-25Extend jobs to support writing and use that for copy-pipe instead ofNicholas Marriott
2013-03-25Fix if-shell and run-shell if there are no sessions. Batted aroundNicholas Marriott
2013-03-25Remove previous.Nicholas Marriott
2013-03-25Plug small memory leak in run-shell. Don't potentially leak the commandNicholas Marriott
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott