Skip to content

v2: Fix monitor console in curses mode

Ryan Harper kvm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/21 patch 3 repliesIn review
  2. v1 posting 1/22 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1v2: Fix text console size/resize when using cursesconsole.c+5 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1][RESEND] v2: Fix monitor console in curses mode

No futher feedback or concerns received, please apply.

v2: dropped initial display size changes in curses.c -- not needed.

The current curses code doesn't adjust the curses and text console display to match the size of the terminal and fails to adjust properly after a resize. The attach patches ensure that text_console_resize events adjust the Textconsole display area so they stay the same size as the curses display. The result is that we no longer see broken output like:

QEMU 0.9.1 monitor - type 'help' for more information

                    (qemu)
                                            (qemu)
                                                                (qemu)

and you can resize your terminal window and the monitor and serial text consoles adjust properly as well.