You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly thanks so much for your great work. I just started learning rust and tui is my interested area. When I run the demo code, I can input english without problem, but when input chinese, it can display all right, but the cursor is not moving correctly. I believe that is because one character in chinese is 2 letter wide.
Steps to reproduce
cargo run demo.rs
Expected behaviour
cursor moving to the end of the input string, not in the middle.
Environment
OS: linux
Architecture: x86_64
Rust version: 1.52.1
tui-realm version: 0.3.0
Additional information
Noting at this moment.
The text was updated successfully, but these errors were encountered:
Description
Firstly thanks so much for your great work. I just started learning rust and tui is my interested area. When I run the demo code, I can input english without problem, but when input chinese, it can display all right, but the cursor is not moving correctly. I believe that is because one character in chinese is 2 letter wide.
Steps to reproduce
cargo run demo.rs
Expected behaviour
cursor moving to the end of the input string, not in the middle.
Environment
Additional information
Noting at this moment.
The text was updated successfully, but these errors were encountered: