From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCrEg-0006q5-BE for qemu-devel@nongnu.org; Tue, 24 Nov 2009 03:58:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCrEa-0006lW-Px for qemu-devel@nongnu.org; Tue, 24 Nov 2009 03:58:57 -0500 Received: from [199.232.76.173] (port=51443 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCrEa-0006lB-FA for qemu-devel@nongnu.org; Tue, 24 Nov 2009 03:58:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44102) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCrEZ-0000sZ-QN for qemu-devel@nongnu.org; Tue, 24 Nov 2009 03:58:52 -0500 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAO8wnuX026809 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 24 Nov 2009 03:58:49 -0500 From: Gerd Hoffmann Date: Tue, 24 Nov 2009 09:58:36 +0100 Message-Id: <1259053124-10471-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1259053124-10471-1-git-send-email-kraxel@redhat.com> References: <1259053124-10471-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 02/10] vc: colorize chardev title line with blue background. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- console.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/console.c b/console.c index 2aeb5b3..8086bd6 100644 --- a/console.c +++ b/console.c @@ -1388,8 +1388,10 @@ static void text_console_do_init(CharDriverState *chr, DisplayState *ds, QemuOpt char msg[128]; int len; + s->t_attrib.bgcol = COLOR_BLUE; len = snprintf(msg, sizeof(msg), "%s console\r\n", chr->label); console_puts(chr, (uint8_t*)msg, len); + s->t_attrib = s->t_attrib_default; } qemu_chr_generic_open(chr); -- 1.6.2.5