#
d8b32369 |
| 27-Aug-2021 |
nicm <nicm@openbsd.org> |
Replace %% in command lists (by copying them) for template arguments , this means they can be used with {} as well. Also make argument processing from an existing vector preserve commands. GitHub iss
Replace %% in command lists (by copying them) for template arguments , this means they can be used with {} as well. Also make argument processing from an existing vector preserve commands. GitHub issue 2858.
show more ...
|
#
825f884a |
| 21-Aug-2021 |
nicm <nicm@openbsd.org> |
Rename a member to match what it will be in future.
|
#
a51dead1 |
| 21-Aug-2021 |
nicm <nicm@openbsd.org> |
Add args parsing callback for some future work, currently unused.
|
#
1693b10b |
| 20-Aug-2021 |
nicm <nicm@openbsd.org> |
Hide struct args behind a couple of accessor functions.
|
#
05b80794 |
| 20-Aug-2021 |
nicm <nicm@openbsd.org> |
Expose args_value struct (will be needed soon) and add some missing frees.
|
#
035dc73d |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Make client -c and -t handling common in cmd-queue.c and try to be clearer about whether the client is the target client (must have a session) or not.
|
#
040343ae |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make its use more clearly defined and preparation for some future work).
|
#
90d7ba38 |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Make struct cmd local to cmd.c and move it out of tmux.h.
|
#
d6f6a5d2 |
| 31-Mar-2020 |
nicm <nicm@openbsd.org> |
Add a way to mark environment variables as "hidden" so they can be used by tmux but are not passed into the environment of new panes.
|
#
f4f81a00 |
| 19-Sep-2019 |
nicm <nicm@openbsd.org> |
Add a "latest" window-size option which tries to size windows based on the most recently used client. From Tommie Gannert in GitHub issue 1869 based on earlier changes from me.
|
#
d0772b58 |
| 28-Apr-2019 |
nicm <nicm@openbsd.org> |
Support multiple occurances of the same argument. Use this for a new flag -e to new-window, split-window, respawn-window, respawn-pane to pass environment variables into the newly created process. Fr
Support multiple occurances of the same argument. Use this for a new 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.
show more ...
|
#
c26c4f79 |
| 17-Apr-2019 |
nicm <nicm@openbsd.org> |
Break new window and pane creation common code from various commands and window.c into a separate file spawn.c.
|
#
2c8678f7 |
| 12-Mar-2019 |
nicm <nicm@openbsd.org> |
Allow multiple modes to be open in a pane. A stack of open modes is kept and the previous restored when the top is exited. If a mode that is already on the stack is entered, the existing instance is
Allow multiple modes to be open in a pane. A stack of open modes is kept and the previous restored when the top is exited. If a mode that is already on the stack is entered, the existing instance is moved to the top as the active mode rather than being opened new.
show more ...
|
#
579ab1e8 |
| 21-Jul-2017 |
nicm <nicm@openbsd.org> |
Add -c for respawn-pane and respawn-window, from J Raynor.
|
#
ff7b5ef0 |
| 25-Apr-2017 |
nicm <nicm@openbsd.org> |
Do not update TERM into config file parsing has finished.
|
#
bf0d297e |
| 22-Apr-2017 |
nicm <nicm@openbsd.org> |
Get rid of the extra layer of flags and cmd_prepare() and just store the CMD_FIND_* flags in the cmd_entry and call it for the command. Commands with special requirements call it themselves and updat
Get rid of the extra layer of flags and cmd_prepare() and just store the CMD_FIND_* flags in the cmd_entry and call it for the command. Commands with special requirements call it themselves and update the target for hooks to use.
show more ...
|
#
720ef0b5 |
| 09-Mar-2017 |
nicm <nicm@openbsd.org> |
Move server_fill_environ into environ.c and move some other common code into it.
|
#
68e0a7f2 |
| 16-Oct-2016 |
nicm <nicm@openbsd.org> |
Mass rename struct cmd_q to struct cmdq_item and related.
|
#
dc1f0f5f |
| 10-Oct-2016 |
nicm <nicm@openbsd.org> |
Add static in cmd-* and fix a few other nits.
|
#
98ca8272 |
| 19-Jan-2016 |
nicm <nicm@openbsd.org> |
I no longer use my SourceForge address so replace it.
|
#
4fc586aa |
| 16-Dec-2015 |
nicm <nicm@openbsd.org> |
Add infrastructure to work out the best target given a pane or window alone and use it to add pane_died and pane_exited hooks.
|
#
8d471e80 |
| 14-Dec-2015 |
nicm <nicm@openbsd.org> |
Instead of combined flags for -c, -s, -t, split into different sets using an enum and simplify the parsing code.
|
#
c057646b |
| 13-Dec-2015 |
nicm <nicm@openbsd.org> |
Use member names in cmd_entry definitions so I stop getting confused about the order.
|
#
3447b427 |
| 13-Dec-2015 |
nicm <nicm@openbsd.org> |
Instead of every command resolving the target (-t or -s) itself, prepare the state (client, session, winlink, pane) for it it before entering the command. Each command provides some flags that tell t
Instead of every command resolving the target (-t or -s) itself, prepare the state (client, session, winlink, pane) for it it before entering the command. Each command provides some flags that tell the prepare step what it is expecting.
This is a requirement for having hooks on commands (for example, if you hook "select-window -t1:2", the hook command should to operate on window 1:2 not whatever it thinks is the current window), and should allow some other target improvements.
The old cmd_find_* functions remain for the moment but that layer will be dropped later.
Joint work with Thomas Adam.
show more ...
|
#
3baa4a0c |
| 31-Oct-2015 |
nicm <nicm@openbsd.org> |
Because pledge(2) does not allow us to pass directory file descriptors around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to
Because pledge(2) does not allow us to pass directory file descriptors around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too).
show more ...
|