summaryrefslogtreecommitdiffstats
path: root/spawn.c
AgeCommit message (Collapse)Author
2021-08-23Fix a few memory leaks.nicm
2021-03-11Add split-window -Z to start the pane zoomed, GitHub issue 2591.nicm
2021-03-02Do not use NULL active window; also do not leak window name. GitHubnicm
issue 2590 from Chester Liu.
2021-03-02Drop support for popups where the content is provided directly to tmuxnicm
(which does not have many practical uses) and only support running a program in the popup. display-popup is now simpler and can accept multiple arguments to avoid escaping problems (like the other commands).
2021-02-19Check return value of chdir() to stop a silly warning with somenicm
compilers, GitHub issue 2573.
2020-05-21Support code for control mode flow control: allow clients to havenicm
separate offsets (used and acknowleged) into the pane buffers; turn off reading from panes when no clients can accept the data; and add a -A flag to refresh-client to let clients turn receiving a pane on and off.
2020-05-16Add a client flag 'active-pane' which stores the active pane in thenicm
client and allows it to be changed independently from the real active pane stored in the window. This is can be used with session groups which allow an independent current window (although it would be nice to have a flag for this too and remove session groups). The client active pane is only really useful interactively, many things (hooks, window-style, zooming) still use the window active pane.
2020-04-23Fix a couple of memory leaks, one when creating a new pane and one whennicm
adding formats onto the queue item.
2020-04-13Make client -c and -t handling common in cmd-queue.c and try to benicm
clearer about whether the client is the target client (must have a session) or not.
2020-04-13Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsnicm
use more clearly defined and preparation for some future work).
2020-03-31Add a way to mark environment variables as "hidden" so they can be usednicm
by tmux but are not passed into the environment of new panes.
2020-03-31Detach reply escape sequences from the pane so they work in popups.nicm
2020-03-19Change input path so it doesn't require a pane.nicm
2020-03-17Ignore default-shell (and use /bin/sh) if it invalid not just if it isnicm
tmux itself, also refuse to set the option to something invalid in the first place. GitHub issue 2120.
2020-03-02Use current session for cwd of new sessions, not the new session whichnicm
doesn't have one yet. GitHub issue 2091.
2020-01-28Set up working directory before killing the existing pane on respawn.nicm
2020-01-01Fix format expansion in window names, reported by Suraj N Kurapati.nicm
2019-11-28Make a best effort to set xpixel and ypixel for each pane and addnicm
formats for them.
2019-11-14Add an option to set the key sent by backspace for those whose systemnicm
uses ^H rather than ^?. GitHub issue 1969.
2019-10-07Fix respawn-pane/window if default-command is set, reported by Janos Barbero.nicm
2019-09-23Use the correct size for new windows when window-size is latest,nicm
reported by Vamsi Krishna Avula in GitHub issue 1917.
2019-09-19Add a "latest" window-size option which tries to size windows based onnicm
the most recently used client. From Tommie Gannert in GitHub issue 1869 based on earlier changes from me.
2019-09-18Do not set uninitialized signal mask when creating an empty pane.nicm
2019-06-30Do not double free window if pane fails to start.nicm
2019-05-27Fix crash when killing the current window, reported by Jesus Rafaelnicm
Sanchez in GitHub issue 1760.
2019-05-25Make cmd_log_argv take a printf-like format for the prefix.nicm
2019-05-03Allow panes to be empty (no command), output can be piped to them withnicm
split-window or display-message -I.
2019-04-28Support multiple occurances of the same argument. Use this for a newnicm
flag -e to new-window, split-window, respawn-window, respawn-pane to pass environment variables into the newly created process. From Steffen Christgau in GitHub issue 1697.
2019-04-17Break new window and pane creation common code from various commands andnicm
window.c into a separate file spawn.c.