conhost: Use more standard hide cursor sequence.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e151e4c8a1
commit
e58ef508a9
|
@ -247,7 +247,7 @@ static void hide_tty_cursor( struct console *console )
|
|||
{
|
||||
if (console->tty_cursor_visible)
|
||||
{
|
||||
tty_write( console, "\x1b[25l", 5 );
|
||||
tty_write( console, "\x1b[?25l", 6 );
|
||||
console->tty_cursor_visible = FALSE;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -119,7 +119,7 @@ static BOOL skip_byte_(unsigned int line, char ch)
|
|||
static void expect_hide_cursor_(unsigned int line)
|
||||
{
|
||||
if (!console_output_count) fetch_console_output_(line);
|
||||
ok_(__FILE__,line)(skip_sequence_(line, "\x1b[25l") || broken(skip_sequence_(line, "\x1b[?25l")),
|
||||
ok_(__FILE__,line)(skip_sequence_(line, "\x1b[?25l") || broken(skip_sequence_(line, "\x1b[25l")),
|
||||
"expected hide cursor escape\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue