ui/vc: skip text console resize when possible
commit9cb737b77d9cc43a9bed305cbb105928a3dda54b
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 30 Aug 2023 09:38:14 +0000 (30 13:38 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 4 Sep 2023 10:24:08 +0000 (4 14:24 +0400)
treeddf9343abf533d40aec8b8f194b0a50ffbb277b0
parent3f9c21325c4c2005a852744db1016c479d60cb55
ui/vc: skip text console resize when possible

This function is called on invalidate, on each cursor blink.

Avoid the extra copy when the console size didn't change.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230830093843.3531473-41-marcandre.lureau@redhat.com>
ui/console.c