svn commit: r264242 - head/sys/kern

Aleksandr Rybalko ray at FreeBSD.org
Mon Apr 7 22:37:14 UTC 2014


Author: ray
Date: Mon Apr  7 22:37:13 2014
New Revision: 264242
URL: http://svnweb.freebsd.org/changeset/base/264242

Log:
  Do not fill screen, while muted.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/kern/subr_terminal.c

Modified: head/sys/kern/subr_terminal.c
==============================================================================
--- head/sys/kern/subr_terminal.c	Mon Apr  7 21:28:21 2014	(r264241)
+++ head/sys/kern/subr_terminal.c	Mon Apr  7 22:37:13 2014	(r264242)
@@ -208,7 +208,7 @@ terminal_set_winsize_blank(struct termin
 		teken_set_winsize(&tm->tm_emulator, &r.tr_end);
 	TERMINAL_UNLOCK(tm);
 
-	if (blank != 0)
+	if ((blank != 0) && !(tm->tm_flags & TF_MUTE))
 		tm->tm_class->tc_fill(tm, &r, TCHAR_CREATE((teken_char_t)' ',
 		    &default_message));
 


More information about the svn-src-all mailing list