mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Nuke the utf8 and status-utf8 options and make tmux only a UTF-8
terminal. We still support non-UTF-8 terminals outside tmux, but inside it is always UTF-8 (as when the utf8 and status-utf8 options were on).
This commit is contained in:
		
							
								
								
									
										5
									
								
								input.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								input.c
									
									
									
									
									
								
							@@ -1921,11 +1921,6 @@ input_exit_rename(struct input_ctx *ictx)
 | 
			
		||||
int
 | 
			
		||||
input_utf8_open(struct input_ctx *ictx)
 | 
			
		||||
{
 | 
			
		||||
	if (!options_get_number(ictx->wp->window->options, "utf8")) {
 | 
			
		||||
		/* Print, and do not switch state. */
 | 
			
		||||
		input_print(ictx);
 | 
			
		||||
		return (-1);
 | 
			
		||||
	}
 | 
			
		||||
	log_debug("%s", __func__);
 | 
			
		||||
 | 
			
		||||
	utf8_open(&ictx->utf8data, ictx->ch);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user