fix curses interface (Stefano Stabellini)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 21 Jan 2009 18:59:12 +0000 (18:59 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 21 Jan 2009 18:59:12 +0000 (18:59 +0000)
commit427e5bca911ea7051a192d1ac2cfef85a0bed353
treee7c9e0c1750eed8ef400d34b71d56c5f1ded98a8
parent7e05ad776cec6b0e4cef1ae5e7e6ce617f3a32c9
fix curses interface (Stefano Stabellini)

Hi all,
this patch fixes the curses interface: when we switch from one console
to another we need to change the displaystate width and height even
though in the curses case the backing buffer remains of the same size.
I am also putting back the call to text_console_resize in
text_console_invalidate so that resizeable text consoles can be properly
handled.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6389 c046a42c-6fe2-441c-8c8c-71466251a162
console.c
curses.c