1 评论 (1 评论)3 反应 (3 反应)0 负责人 (0 负责人)TypeScript16,196 star (16,196 star)1,574 fork (1,574 fork)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
- 议题类型
- 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.