mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	
			
				
					
						
					
					8ce1f0b0477c456534ff4e3204afbfe18a69d905
				
			
			
		
	Add an additional heuristic to work out the current session when run from the command line. The name of all slave ptys in the server is known, so if the client was run on a tty, look for any sessions containing that tty and use the most recently created. This is more reliable than looking at $TMUX if windows have been moved or linked between sessions.
Description
				No description provided
						
						
						
					Languages
				
				
								
								
									C
								
								87.5%
							
						
							
								
								
									Roff
								
								7.1%
							
						
							
								
								
									Shell
								
								2.7%
							
						
							
								
								
									Yacc
								
								1.3%
							
						
							
								
								
									M4
								
								0.8%
							
						
							
								
								
									Other
								
								0.5%