Skip to content

toggleconsole sometimes types grave accent and tilde into console #259

Closed
ma-choo opened this issue Apr 29, 2017 · 2 comments
Closed

toggleconsole sometimes types grave accent and tilde into console #259

ma-choo opened this issue Apr 29, 2017 · 2 comments

Comments

@ma-choo
Copy link
Contributor

ma-choo commented Apr 29, 2017

On Windows 10, using the hardcoded toggleconsole keys, grave accent '`' and tilde '~' will sometimes enter these characters into the input line. I made a cheap fix for myself by adding if ( ch == '`' ) return; to the Field_CharEvent function, but I don't know if this would lead to other issues.

@a1batross
Copy link
Member

Field_CharEvent is called only when SDL Text mode is enabled. Seems that on Windows 10 text mode is being enabled too early, so '`' or '~' appears in that event, instead of key event.

@mittorn
Copy link
Member

mittorn commented Apr 30, 2017

Maybe restore '`' check?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants