Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to ignore backsapce key event on input method? #773

Closed
coderhwz opened this issue Jan 26, 2019 · 4 comments
Closed

how to ignore backsapce key event on input method? #773

coderhwz opened this issue Jan 26, 2019 · 4 comments
Labels
B - bug Dang, that shouldn't have happened C - needs investigation Issue must be confirmed and researched DS - macos F - question There's no such thing as a stupid one

Comments

@coderhwz
Copy link

coderhwz commented Jan 26, 2019

According to this issue alacritty/alacritty#1606, I try look into Alacritty source code,and I found out that Alacritty accpet KeyboardInput directly. I want to know how to ignore backspace KeyboardInput event on input method OR how to recognize the event has been caputure by input method ? thanks

@xieyunzi
Copy link

xieyunzi commented Jan 26, 2019

I think the step is:

  1. get current input source (or get input source change event from os)
  2. if input source is some input method, ignore input key event
  3. loop above step

step 1 is os depended.

And maybe ignore key event should be configurable, it's application level choose.

@taoso
Copy link

taoso commented Jun 16, 2019

@coderhwz is there any progress for this issue?

@goddessfreya goddessfreya added DS - macos B - bug Dang, that shouldn't have happened C - needs investigation Issue must be confirmed and researched F - question There's no such thing as a stupid one labels Jun 16, 2019
@Osspial
Copy link
Contributor

Osspial commented Jun 16, 2019

I've got a WIP branch (on Windows, at least) for dispatching all the keyboard and IME events in a single event struct, which should allow this. IME support hasn't been completed on that, though.

@kchibisov
Copy link
Member

This was resolved with IME input a year ago or so. When using IME the keyboard events are not sent to the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened C - needs investigation Issue must be confirmed and researched DS - macos F - question There's no such thing as a stupid one
Development

No branches or pull requests

6 participants