mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Don't need cud.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: tty-term.c,v 1.4 2009-01-10 18:28:09 nicm Exp $ */
 | 
			
		||||
/* $Id: tty-term.c,v 1.5 2009-01-10 22:24:23 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -96,6 +96,7 @@ struct tty_term_code_entry tty_term_codes[NTTYCODE] = {
 | 
			
		||||
	{ TTYC_RI, TTYCODE_STRING, "ri" },
 | 
			
		||||
	{ TTYC_RMACS, TTYCODE_STRING, "rmacs" },
 | 
			
		||||
	{ TTYC_RMCUP, TTYCODE_STRING, "rmcup" },
 | 
			
		||||
	{ TTYC_RMIR, TTYCODE_STRING, "rmir" },
 | 
			
		||||
	{ TTYC_RMKX, TTYCODE_STRING, "rmkx" },
 | 
			
		||||
	{ TTYC_SETAB, TTYCODE_STRING, "setab" },
 | 
			
		||||
	{ TTYC_SETAF, TTYCODE_STRING, "setaf" },
 | 
			
		||||
@@ -248,10 +249,6 @@ tty_term_find(char *name, int fd, char **cause)
 | 
			
		||||
		xasprintf(cause, "terminal does not support clear");
 | 
			
		||||
		goto error;
 | 
			
		||||
	}
 | 
			
		||||
	if (!tty_term_has(term, TTYC_CUD)) {
 | 
			
		||||
		xasprintf(cause, "terminal does not support cud");
 | 
			
		||||
		goto error;
 | 
			
		||||
	}
 | 
			
		||||
	if (!tty_term_has(term, TTYC_CR)) {
 | 
			
		||||
		xasprintf(cause, "terminal does not support cr");
 | 
			
		||||
		goto error;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user