mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Always set VERASE to \177.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: cmd-new-session.c,v 1.63 2009-09-13 20:30:12 tcunha Exp $ */
 | 
			
		||||
/* $Id: cmd-new-session.c,v 1.64 2009-09-13 20:56:52 tcunha Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -179,7 +179,6 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
			
		||||
		memset(tio.c_cc, _POSIX_VDISABLE, sizeof tio.c_cc);
 | 
			
		||||
		tio.c_cc[VINTR] = CINTR;
 | 
			
		||||
		tio.c_cc[VQUIT] = CQUIT;
 | 
			
		||||
		tio.c_cc[VERASE] = '\177';
 | 
			
		||||
		tio.c_cc[VKILL] = CKILL;
 | 
			
		||||
		tio.c_cc[VEOF] = CEOF;
 | 
			
		||||
		tio.c_cc[VSTART] = CSTART;
 | 
			
		||||
@@ -192,6 +191,7 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
			
		||||
		tio.c_cc[VLNEXT] = CLNEXT;
 | 
			
		||||
#endif
 | 
			
		||||
	}
 | 
			
		||||
	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