kettle11 / kapp

A pure Rust window and input library for Windows, Mac, and Web. (Work in progress)
Apache License 2.0
56 stars 4 forks source link

Text input #36

Open kettle11 opened 4 years ago

kettle11 commented 4 years ago

Right now key events are received, but they are a poor substitute for platform native character input.

In addition setting the text box for IME input may need to be supported as well, probably as a function that can be called on a window. Presently on Mac it appears in the lower left corner, which isn't ideal.

kettle11 commented 3 years ago

Web may be tricky.

A hidden text field may be required to get text input that matches user expectations.

kettle11 commented 3 years ago

For now web sends what are probably appropriate characters most of the time, but the solution may be incorrect for some non-English input scenarios. For now web can be considered resolved, but an issue can be opened in the future if new problems emerge.