mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	tmux always outputs \177 for backspace, so explicitly set VERASE to \177 for
new windows.
This commit is contained in:
		@@ -164,6 +164,7 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
			
		||||
			fatal("tcgetattr failed");
 | 
			
		||||
	} else
 | 
			
		||||
		memcpy(tio.c_cc, ttydefchars, sizeof tio.c_cc);
 | 
			
		||||
	tio.c_cc[VERASE] = '\177';
 | 
			
		||||
	tio.c_iflag = TTYDEF_IFLAG;
 | 
			
		||||
	tio.c_oflag = TTYDEF_OFLAG;
 | 
			
		||||
	tio.c_lflag = TTYDEF_LFLAG;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user