summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-if-shell.c
AgeCommit message (Expand)Author
2021-10-11Add -e flag to set environment for popup, from Alexis Hildebrandt inNicholas Marriott
2021-09-15For the moment, restore if-shell and run-shell to parsing at the lastNicholas Marriott
2021-09-09Expand argument to run-shell again.Nicholas Marriott
2021-08-25Validate command argument types (string or command list) and give moreNicholas Marriott
2021-08-23Move command argument parsing common functions and don't bother to parseNicholas Marriott
2021-08-21Stop caring about empty commands, just treat as a null command.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-13Set return code for confirm-before and make command-prompt also block,Nicholas Marriott
2021-03-02Drop support for popups where the content is provided directly to tmuxNicholas Marriott
2020-04-13Make client -c and -t handling common in cmd-queue.c and try to beNicholas Marriott
2020-04-13Add helpers for the simple case of parse string and add to command queue.Nicholas Marriott
2020-04-13When adding a list of commands to the queue, instead of automaticallyNicholas 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-13Store a key event not a mouse event in the shared data.Nicholas 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-03-19Add a flag to run a background process in a pty as well, not used forNicholas Marriott
2019-07-17Use the right client for if -b.Nicholas Marriott
2019-06-18Add a cmdq_continue function rather than twiddling the flag directly.Nicholas Marriott
2019-06-12Pass target on to new commands with if -F.Nicholas Marriott
2019-05-25Fix error handling in if-shell.Nicholas Marriott
2019-05-23Replace the split parser code (cfg.c and cmd-string.c) with a singleNicholas 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-04-25if-shell doesn't need to queue its error message into a callback, and inNicholas Marriott
2017-04-22Get rid of the extra layer of flags and cmd_prepare() and just store theNicholas Marriott
2017-04-22Fix if-shell without a client (so in the config file). Reported by TheoNicholas Marriott
2017-04-21Store state shared between multiple commands in the queue in a sharedNicholas 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-03Add a window or pane id "tag" to each format tree and use it to separateNicholas Marriott
2017-01-15It is silly for cmd_list_parse to return an integer error when it couldNicholas 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-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-04-29Expand client formats (like run-shell), from Stephen M Coakley.Nicholas Marriott
2016-04-29Final parts of command hooks, add before- and after- hooks to each command.Nicholas Marriott
2016-03-01Remove some more unused variables, and use RB_FOREACH_SAFE inNicholas 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-11-20Memory leaks and an uninitialized part of utf8_data, from Patrick Palka.Nicholas Marriott