Message ID | 20100520205337.GC2938@chrom.inf.tu-dresden.de |
---|---|
State | New |
Headers | show |
Hi, I pushed a modified patch to preserve attributes such as background colour. Please check if this works for you. Cheers
On Fri, May 21, 2010 at 02:02:43PM +0200, andrzej zaborowski wrote: > I pushed a modified patch to preserve attributes such as background > colour. Good idea. > Please check if this works for you. Yes, this works. Thanks, Bernhard Kauer
diff --git a/console.h b/console.h index 6def115..42ff822 100644 --- a/console.h +++ b/console.h @@ -306,6 +306,7 @@ static inline int ds_get_bytes_per_pixel(DisplayState *ds) typedef unsigned long console_ch_t; static inline void console_write_ch(console_ch_t *dest, uint32_t ch) { + if (!(ch & 0xff)) ch = 0x20; cpu_to_le32wu((uint32_t *) dest, ch); }