qemu-devel@nongnu.org
[Top] [All Lists]

[Qemu-devel] [PATCH] fix ncurses output

Subject: [Qemu-devel] [PATCH] fix ncurses output
From: Bernhard Kauer
Date: Mon, 25 Feb 2008 18:48:06 +0100
The ncurses console uses mvwaddchnstr() to print a line of output
to a ncurses pad. Unfortunately this routine stops to print further
chars if a zero-char is seen in the line. This has the effect that
parts of a line are never redraw.

The following patch puts spaces instead of the zeros into the line-buffer.
Please note that this change affects other consoles as well and is
perhaps undesirable. Comments?


        Bernhard Kauer

Attachment: qemu_curses.diff
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • [Qemu-devel] [PATCH] fix ncurses output, Bernhard Kauer <=