mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Sync OpenBSD patchset 287:
Emulate dch/dch1 if missing by redrawing the entire line.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: tty-term.c,v 1.28 2009-08-09 16:52:06 tcunha Exp $ */
 | 
			
		||||
/* $Id: tty-term.c,v 1.29 2009-08-21 21:15:00 tcunha Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -337,10 +337,6 @@ tty_term_find(char *name, int fd, const char *overrides, char **cause)
 | 
			
		||||
		    "terminal does not support ich1 or ich or smir and rmir");
 | 
			
		||||
		goto error;
 | 
			
		||||
	}
 | 
			
		||||
	if (!tty_term_has(term, TTYC_DCH1) && !tty_term_has(term, TTYC_DCH)) {
 | 
			
		||||
		xasprintf(cause, "terminal does not support dch1 or dch");
 | 
			
		||||
		goto error;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
	 * Figure out if terminal support default colours. AX is a screen
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user