qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2] curses: resize terminal to fit console size


From: Carlo Marcelo Arenas Belon
Subject: [Qemu-devel] [PATCH v2] curses: resize terminal to fit console size
Date: Thu, 1 May 2008 02:52:40 -0500
User-agent: Mutt/1.4.1i

The following patch, sends a resize escape character to the terminal used
when running under curses to try to change its geometry to match the console
size (as it is done with SDL).

As suggested, I'd added a check for the type of terminal used (currently only
blacklisting "linux", eventhough from my tests it was just ignoring the escape
sequence) which will need to be expanded to all known terminals which don't
support this sequence.  As suggested as well, I'd moved the resizing to the
resize function so that it will be also called if the VGA mode is changed.

Carlo

Attachment: qemu-curses-resize-v2.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]