mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:17:31 +00:00 
			
		
		
		
	Use cfsetispeed/cfsetospeed to set termios speed members.
This commit is contained in:
		@@ -212,8 +212,8 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
			
		||||
	tio.c_oflag = TTYDEF_OFLAG;
 | 
			
		||||
	tio.c_lflag = TTYDEF_LFLAG;
 | 
			
		||||
	tio.c_cflag = TTYDEF_CFLAG;
 | 
			
		||||
	tio.c_ispeed = TTYDEF_SPEED;
 | 
			
		||||
	tio.c_ospeed = TTYDEF_SPEED;
 | 
			
		||||
	cfsetispeed(&tio, TTYDEF_SPEED);
 | 
			
		||||
	cfsetospeed(&tio, TTYDEF_SPEED);
 | 
			
		||||
 | 
			
		||||
	/* Create the new session. */
 | 
			
		||||
	idx = -1 - options_get_number(&global_s_options, "base-index");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user