Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 22:37:13 +0000 (UTC)
From:      Aleksandr Rybalko <ray@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264242 - head/sys/kern
Message-ID:  <201404072237.s37MbDwj084701@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404072237.s37MbDwj084701>