What happened?
In the pi interactive editor, Option+Left/Right word movement does not stop at fullwidth Chinese punctuation.
Example input:
你好,世界
With the cursor at the end, Option+Left skips across the Chinese comma instead of stopping at the punctuation boundary. The same word movement in the original terminal can stop around the punctuation.
Steps to reproduce
- Start pi interactive mode on macOS.
- Type: 你好,世界
- Put the cursor at the end.
- Press Option+Left / Option+Right.
The cursor cannot stop at the Chinese comma ,.
Expected behavior
Word movement should treat fullwidth Unicode punctuation like , as punctuation, while preserving existing ASCII punctuation behavior.
Version
0.75.5
What happened?
In the pi interactive editor, Option+Left/Right word movement does not stop at fullwidth Chinese punctuation.
Example input:
你好,世界
With the cursor at the end, Option+Left skips across the Chinese comma instead of stopping at the punctuation boundary. The same word movement in the original terminal can stop around the punctuation.
Steps to reproduce
The cursor cannot stop at the Chinese comma
,.Expected behavior
Word movement should treat fullwidth Unicode punctuation like
,as punctuation, while preserving existing ASCII punctuation behavior.Version
0.75.5