1 comment (1 comment)3 reactions (3 reactions)0 assignees (0 assignees)TypeScript16,196 stars (16,196 stars)1,574 forks (1,574 forks)batch import
area/imehelp wantedtype/bug
説明
Details
- Browser and browser version: Version 112.0.5615.121 (Official Build) (arm64)
- OS version: 13.3.1 (22E261)
- xterm.js version: test on http://xtermjs.org or vscode 1.77.3
Steps to reproduce
- install any third party chinese IME,like (sougou)[https://pinyin.sogou.com/mac/] input (not the mac builtin chinese simplified)
- enter punctuation,expect chinese punctuation bug get english punctuation
- Issue 種別
- bug
- 調査方針
- Investigate how xterm.js handles composition events and punctuation input. Look at the input handling code in `src/InputHandler.ts` and `src/Terminal.ts` for how key events and compositionend events are processed. The issue likely relates to the browser's composition event not being properly translated into the correct character codes. Check if there are any existing tests for IME input in the test suite.