mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add -n and -p flags to switch-client to move to the next and previous
session (yes, it doesn't match window/pane, but so what, nor does switch-client). Based on a diff long ago from "edsouza".
This commit is contained in:
		
							
								
								
									
										6
									
								
								tmux.1
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								tmux.1
									
									
									
									
									
								
							@@ -660,6 +660,7 @@ Suspend a client by sending
 | 
			
		||||
.Dv SIGTSTP
 | 
			
		||||
(tty stop).
 | 
			
		||||
.It Xo Ic switch-client
 | 
			
		||||
.Op Fl np
 | 
			
		||||
.Op Fl c Ar target-client
 | 
			
		||||
.Op Fl t Ar target-session
 | 
			
		||||
.Xc
 | 
			
		||||
@@ -668,6 +669,11 @@ Switch the current session for client
 | 
			
		||||
.Ar target-client
 | 
			
		||||
to
 | 
			
		||||
.Ar target-session .
 | 
			
		||||
If
 | 
			
		||||
.Fl n
 | 
			
		||||
or
 | 
			
		||||
.Fl p
 | 
			
		||||
is used, the client is moved to the next or previous session respectively.
 | 
			
		||||
.El
 | 
			
		||||
.Sh WINDOWS AND PANES
 | 
			
		||||
A
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user