History log of /openbsd/usr.bin/tmux/cmd-detach-client.c (Results 1 – 25 of 38)
Revision Date Author Comments
# 1affafef 21-Mar-2024 nicm <nicm@openbsd.org>

Revert detach-client part of last, did not intend this to go in.


# 33c89b8b 21-Mar-2024 nicm <nicm@openbsd.org>

Do not consider a selection present if it is empty, from Michael Grant
(GitHub issue 3869). Also a typo fix from GitHub issue 3877.


# a51dead1 21-Aug-2021 nicm <nicm@openbsd.org>

Add args parsing callback for some future work, currently unused.


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


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


# 34cdbc31 19-Apr-2017 nicm <nicm@openbsd.org>

Add a suspend helper function, and do not allow detaching or suspending
while already doing so.


# b15f33ec 13-Jan-2017 nicm <nicm@openbsd.org>

Add -E to detach-client to exec a command to replace the client instead
of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius.


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


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


# 1443aefc 08-Dec-2015 nicm <nicm@openbsd.org>

Add hooks infrastructure, basic commands (set-hook, show-hooks) and a
couple of not very useful client hooks. This will eventually let
commands be run at various points and on notifications. Joint wo

Add hooks infrastructure, basic commands (set-hook, show-hooks) and a
couple of not very useful client hooks. This will eventually let
commands be run at various points and on notifications. Joint work with
Thomas Adam.

show more ...


# ae8843cd 24-Nov-2015 nicm <nicm@openbsd.org>

Fix usage of detach-client.


# 5b8ac713 27-Oct-2015 nicm <nicm@openbsd.org>

Break the common process set up, event loop and imsg dispatch code
between server and client out into a separate internal API. This will
make it easier to add another process.


# 82873134 24-Apr-2015 nicm <nicm@openbsd.org>

Convert clients list into a TAILQ.


# d3f4df38 30-Jan-2015 nicm <nicm@openbsd.org>

Tidy up detach-client a bit.


# 85d846b6 20-Oct-2014 nicm <nicm@openbsd.org>

Move suspend-client code into detach-client.


# f0dcb22a 20-Oct-2014 nicm <nicm@openbsd.org>

Instead of setting up the default keys by building the key struct
directly with a helper function in the cmd_entry, include a table of
bind-key commands and pass them through the command parser and a

Instead of setting up the default keys by building the key struct
directly with a helper function in the cmd_entry, include a table of
bind-key commands and pass them through the command parser and a
temporary cmd_q.

As well as being smaller, this will allow default bindings to be command
sequences which will probably be needed soon.

show more ...


# 42a4c3e6 15-Oct-2013 nicm <nicm@openbsd.org>

Fix detach -a by skipping clients where the session is NULL.


# e7126be6 10-Oct-2013 nicm <nicm@openbsd.org>

Show session name in detached message. Requested by somebody a few
months ago who didn't bother testing it. But it works for me anyway.


# 1fe07f53 10-Oct-2013 nicm <nicm@openbsd.org>

Remove the barely-used and unnecessary command check() function.


12