Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
09f71d08
Commit
09f71d08
authored
Oct 09, 2003
by
Peter Berg Larsen
Committed by
Alexandre Julliard
Oct 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The Tab key was considered a ctrl-key and Shift-Tab was ignored.
parent
67d9f380
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
curses.c
programs/wineconsole/curses.c
+19
-5
No files found.
programs/wineconsole/curses.c
View file @
09f71d08
...
...
@@ -464,11 +464,18 @@ static unsigned WCCURSES_FillSimpleChar(INPUT_RECORD* ir, unsigned real_inchar)
switch
(
real_inchar
)
{
case
127
:
inchar
=
'\b'
;
break
;
case
10
:
inchar
=
'\r'
;
real_inchar
=
27
;
/* so that we don't think key is ctrl- something */
break
;
case
9
:
inchar
=
real_inchar
;
real_inchar
=
27
;
/* so that we don't think key is ctrl- something */
break
;
case
10
:
inchar
=
'\r'
;
real_inchar
=
27
;
/* Fixme: so that we don't think key is ctrl- something */
break
;
case
127
:
inchar
=
'\b'
;
break
;
case
27
:
/* we assume that ESC & and the second character are atomically generated
* otherwise, we'll have a race here
/* we assume that ESC & and the second character are atomically
* generated otherwise, we'll have a race here. FIXME: This gives 1 sec. delay
* because curses looks for a second character.
*/
if
((
inchar
=
wgetch
(
stdscr
))
!=
ERR
)
{
...
...
@@ -692,7 +699,14 @@ static unsigned WCCURSES_FillCode(struct inner_data* data, INPUT_RECORD* ir, int
case
KEY_B2
:
case
KEY_C1
:
case
KEY_C3
:
case
KEY_BTAB
:
goto
notFound
;
case
KEY_BTAB
:
/* shift tab */
numEvent
=
WCCURSES_FillSimpleChar
(
ir
,
0x9
);
ir
[
0
].
Event
.
KeyEvent
.
dwControlKeyState
|=
SHIFT_PRESSED
;
ir
[
1
].
Event
.
KeyEvent
.
dwControlKeyState
|=
SHIFT_PRESSED
;
if
(
numEvent
!=
2
)
WINE_ERR
(
"FillsimpleChar has changed"
);
break
;
case
KEY_BEG
:
case
KEY_CANCEL
:
case
KEY_CLOSE
:
...
...
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