When using Chinese input method to input multiple Chinese characters in a sentence at once, the content will become chaotic
https://github.com/user-attachments/assets/a50c042f-892d-49c6-905c-32e4aee2b2ef
我录屏展示了输入单个汉字和多个汉字的情况,在句子中,输入单个汉字是正常的,但输入多个汉字时内容就乱了
I recorded the screen display of inputting a single Chinese character and multiple Chinese characters. In a sentence, inputting a single Chinese character is normal, but when inputting multiple Chinese characters, the content becomes messy
https://github.com/conventional-changelog/commitlint/blob/b751b2999756c650b4b6131f99caa2c939d0a34b/%40commitlint/cz-commitlint/package.json#L52-L58
I remember @commitlint/cz-commitlint need inquirer v9, is it because the version is too old
Thanks for the report, I tried adding UTs the synthetically reproduce the behaviour of IME inputs. Would you mind taking a look to see if that seems to properly reproduce what you encounter?
Could you also confirm your environment/IME system? With the built-in Mac OS pinyin keyboard, I'm unable to reproduce myself.