mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Do not remove the automatic-rename option from the global set, only from
the window (it must stay in the global set or tmux will crash). GitHub issue 2188.
This commit is contained in:
		
							
								
								
									
										4
									
								
								CHANGES
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								CHANGES
									
									
									
									
									
								
							@@ -1,3 +1,7 @@
 | 
				
			|||||||
 | 
					CHANGES FROM 3.1a TO 3.1b
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* Fix crash when allow-rename is on and an empty name is set.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CHANGES FROM 3.1 TO 3.1a
 | 
					CHANGES FROM 3.1 TO 3.1a
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* Do not close stdout prematurely in control mode since it is needed to print
 | 
					* Do not close stdout prematurely in control mode since it is needed to print
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
# configure.ac
 | 
					# configure.ac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
AC_INIT([tmux], 3.1a)
 | 
					AC_INIT([tmux], 3.1b)
 | 
				
			||||||
AC_PREREQ([2.60])
 | 
					AC_PREREQ([2.60])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
AC_CONFIG_AUX_DIR(etc)
 | 
					AC_CONFIG_AUX_DIR(etc)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								input.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								input.c
									
									
									
									
									
								
							@@ -2304,7 +2304,7 @@ input_exit_rename(struct input_ctx *ictx)
 | 
				
			|||||||
		return;
 | 
							return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (ictx->input_len == 0) {
 | 
						if (ictx->input_len == 0) {
 | 
				
			||||||
		oe = options_get(wp->window->options, "automatic-rename");
 | 
							oe = options_get_only(wp->window->options, "automatic-rename");
 | 
				
			||||||
		if (oe != NULL)
 | 
							if (oe != NULL)
 | 
				
			||||||
			options_remove(oe);
 | 
								options_remove(oe);
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user