Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e58ef508
Commit
e58ef508
authored
Sep 08, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conhost: Use more standard hide cursor sequence.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e151e4c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
conhost.c
programs/conhost/conhost.c
+1
-1
tty.c
programs/conhost/tests/tty.c
+1
-1
No files found.
programs/conhost/conhost.c
View file @
e58ef508
...
...
@@ -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
;
}
}
...
...
programs/conhost/tests/tty.c
View file @
e58ef508
...
...
@@ -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
"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment