[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 02/10] vc: colorize chardev title line with blue bac
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 02/10] vc: colorize chardev title line with blue background. |
Date: |
Tue, 24 Nov 2009 09:58:36 +0100 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
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
- [Qemu-devel] [PATCH 00/10] default devices: qdev integration., Gerd Hoffmann, 2009/11/24
- [Qemu-devel] [PATCH 01/10] chardev: move greeting into vc backend., Gerd Hoffmann, 2009/11/24
- [Qemu-devel] [PATCH 02/10] vc: colorize chardev title line with blue background.,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 03/10] default devices: core code & serial lines., Gerd Hoffmann, 2009/11/24
- [Qemu-devel] [PATCH 06/10] zap serial_monitor_mux, Gerd Hoffmann, 2009/11/24
- [Qemu-devel] [PATCH 08/10] default devices: add global cmd line option., Gerd Hoffmann, 2009/11/24
- [Qemu-devel] [PATCH 07/10] default devices: vga adapter., Gerd Hoffmann, 2009/11/24
- [Qemu-devel] [PATCH 04/10] default devices: parallel port., Gerd Hoffmann, 2009/11/24
- [Qemu-devel] [PATCH 05/10] default devices: qemu monitor., Gerd Hoffmann, 2009/11/24
- [Qemu-devel] [PATCH 10/10] default devices: drives, Gerd Hoffmann, 2009/11/24
- [Qemu-devel] [PATCH 09/10] default devices: network, Gerd Hoffmann, 2009/11/24
- Re: [Qemu-devel] [PATCH 00/10] default devices: qdev integration., Markus Armbruster, 2009/11/24