Commit e58ef508 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

conhost: Use more standard hide cursor sequence.

parent e151e4c8
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment