History log of /openbsd-src/usr.bin/tmux/cmd-new-window.c (Results 1 – 25 of 97)
Revision Date Author Comments
# 4d3ff7cd 01-Sep-2023 nicm <nicm@openbsd.org>

Expand name before looking for window with -S, GitHub issue 3670.


# 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.


# a1b7c96b 20-Aug-2021 nicm <nicm@openbsd.org>

Remove some unnecessary blank lines.


# 05b80794 20-Aug-2021 nicm <nicm@openbsd.org>

Expose args_value struct (will be needed soon) and add some missing frees.


# ef8b2762 05-Feb-2021 nicm <nicm@openbsd.org>

Add a -S flag to new-window to make it select the existing window if one
with the given name already exists rather than failing with an error.
Also add a format to check if a window or session name e

Add a -S flag to new-window to make it select the existing window if one
with the given name already exists rather than failing with an error.
Also add a format to check if a window or session name exists which
allows the same with other commands. Requested by and discussed with
kn@.

show more ...


# 24952465 25-Jun-2020 nicm <nicm@openbsd.org>

Silently ignore -a or -b if the window index doesn't exist and create
using that index (this is how it used to work), reported by Romain
Francoise.


# 4f91c935 13-Jun-2020 nicm <nicm@openbsd.org>

Add -b flags to insert a window before (like the existing -a for after)
to break-pane, move-window, new-window. GitHub issue 2261.


# 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.


# 823b6d6d 13-Apr-2020 nicm <nicm@openbsd.org>

Move cmdq_state into cmd-queue.c.


# 054f42ac 13-Apr-2020 nicm <nicm@openbsd.org>

Rename cmdq_shared to cmdq_state which will better reflect what it is
(going to be) used for.


# 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.


# c8713798 03-Apr-2020 nicm <nicm@openbsd.org>

Use new window and new pane as well for -P to new-session or new-window.


# 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 ...


# 844b9093 26-Apr-2019 nicm <nicm@openbsd.org>

Merge hooks into options and make each one an array option. This allows
multiple commands to be easily bound to one hook. set-hook and
show-hooks remain but they are now variants of set-option and
sh

Merge hooks into options and make each one an array option. This allows
multiple commands to be easily bound to one hook. set-hook and
show-hooks remain but they are now variants of set-option and
show-options. show-options now has a -H flag to show hooks (by default
they are not shown).

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.


# 5f8a0990 15-Jul-2018 nicm <nicm@openbsd.org>

Fix new-window -k, GitHub issue 1403.


# 8a00c84c 24-May-2018 nicm <nicm@openbsd.org>

Make server_client_get_cwd used (almost) everywhere we need to work out
the cwd, and do not fall back to "." as it is pretty useless. GitHub
issue 1331.


# 4bd93a15 03-May-2018 nicm <nicm@openbsd.org>

Use window target if specified and exists even when looking for an
index, fixes neww -a with -t as well.


# 89b49179 01-Mar-2018 nicm <nicm@openbsd.org>

Expand formats in window and session names.


1234