in reply to Re^2: Term::ReadLine handle wide character poorly
in thread Term::ReadLine handle wide character poorly

Its behavior varies depending you paste repeatly and type in, paste will show '[27m', type in will squeeze character, neither is desirable. try paste '一生'.

I use fcitx in arch, you will need 'fcitx5 fcitx5-chinese-addons fcitx5-configtool fcitx5-gtk-git fcitx5-pinyin-zhwiki fcitx5-qt', relogin and some environment settings. here is my hyprland env settings related to fcitx. make it work takes some efforts.

env = XMODIFIERS, @im=fcitx # env = GTK_IM_MODULE, fcitx env = QT_IM_MODULE, fcitx env = SDL_IM_MODULE, fcitx env = ECORE_IMF_MODULE,xim