conhost: Show caret immediately after reshaping.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2022-06-03 19:33:33 +10:00 committed by Alexandre Julliard
parent 86d893f931
commit 1c9c1ebc80

View file

@ -659,8 +659,11 @@ static void update_window( struct console *console )
if (console->win == GetFocus())
{
if (console->window->cursor_visible)
{
CreateCaret( console->win, console->window->cursor_bitmap,
console->active->font.width, console->active->font.height );
update_window_cursor( console );
}
else
DestroyCaret();
}