summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2024-03-13 14:01:09 +0000
committerThomas Adam <thomas@xteddy.org>2024-03-13 14:01:09 +0000
commitb79e28b2c30e7ef9b1f7ec6233eeb70a1a177231 (patch)
treedd9f6e0b702187afe2441ddd0dd2870b943111d9
parentb54e1fc4f73b34f3f9c671289fef8cbbc7771d9c (diff)
parent8ffd5458ff850ae556069ed61ec111cefa0a31ea (diff)
Merge branch 'obsd-master'
-rw-r--r--tmux.112
1 files changed, 10 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 9c028352..1916f16e 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1039,9 +1039,17 @@ The following commands are available to manage clients and sessions:
.D1 Pq alias: Ic attach
If run from outside
.Nm ,
-create a new client in the current terminal and attach it to
+attach to
+.Ar target-session
+in the current terminal.
+.Ar target-session
+must already exist - to create a new session, see the
+.Ic new-session
+command (with
+.Fl A
+to create or attach).
+If used from inside, switch the currently attached session to
.Ar target-session .
-If used from inside, switch the current client.
If
.Fl d
is specified, any other clients attached to the session are detached.