mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Emulate CSR with existing screen data on old/stupid terminals which don't support it.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: tty-term.c,v 1.11 2009-02-11 18:44:08 nicm Exp $ */
 | 
			
		||||
/* $Id: tty-term.c,v 1.12 2009-02-11 19:06:58 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -240,10 +240,6 @@ tty_term_find(char *name, int fd, char **cause)
 | 
			
		||||
		xasprintf(cause, "terminal does not support ri");
 | 
			
		||||
		goto error;
 | 
			
		||||
	}
 | 
			
		||||
	if (!tty_term_has(term, TTYC_CSR)) {
 | 
			
		||||
		xasprintf(cause, "terminal does not support csr");
 | 
			
		||||
		goto error;
 | 
			
		||||
	}
 | 
			
		||||
	if (!tty_term_has(term, TTYC_CUP)) {
 | 
			
		||||
		xasprintf(cause, "terminal does not support cup");
 | 
			
		||||
		goto error;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user