mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Instead of skipping del_curterm on FreeBSD < 7, skip it on ncurses < 5.7. It
looks like 5.6 on Linux has the problem too. Reported by Myles Dear.
This commit is contained in:
		@@ -389,7 +389,8 @@ tty_term_find(char *name, int fd, const char *overrides, char **cause)
 | 
			
		||||
	tty_term_override(term, overrides);
 | 
			
		||||
 | 
			
		||||
	/* Delete curses data. */
 | 
			
		||||
#if !defined(__FreeBSD_version) || __FreeBSD_version >= 700000
 | 
			
		||||
#if !defined(NCURSES_VERSION_MAJOR) || NCURSES_VERSION_MAJOR > 5 || \
 | 
			
		||||
    (NCURSES_VERSION_MAJOR == 5 && NCURSES_VERSION_MINOR > 6)
 | 
			
		||||
	del_curterm(cur_term);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user