0

When we use a barcode scanner or type things in manually, if the input method is set to Simplified Chinese, a Chinese suggestion box pops up. The first time you hit Enter, it actually selects a word from the suggestion box instead of submitting your input, which is really inconvenient for quick scanning. What I’m doing now is using im-select to switch the input method, but my product manager told me not to change the user’s own input method settings. He wants me to keep the user’s input method as it is, but still let the input box accept English directly, without showing the Chinese suggestion box. Later, I showed him a small program written in C, and he said that would work and users wouldn’t have to change anything. So now I’m learning C++ and planning to package this approach into an exe file, so it’s easy for my Electron app to call.

3
  • There is no question mark anywhere. What do you want to know? Also, this is tagged C++ and JavaScript. It is unclear for what language you want an answer Commented Jul 30 at 18:22
  • Your barcode scanner reads text or numbers only? Commented Jul 30 at 18:24
  • How to temporarily disable the auto-suggestion function of the input method in Electron? I have attempted to implement it using C++, but I failed to obtain the handle of the input box in the Electron window.
    – 文军杨
    Commented Jul 31 at 1:31

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.