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

Can you paste a string here I could test with?
  • Comment on Re^2: Term::ReadLine handle wide character poorly

Replies are listed 'Best First'.
Re^3: Term::ReadLine handle wide character poorly
by vincentaxhe (Scribe) on May 15, 2024 at 00:10 UTC

    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
Re^3: Term::ReadLine handle wide character poorly
by vincentaxhe (Scribe) on May 15, 2024 at 02:51 UTC
    sorry, its alacritty I use, kitty and foot works fine.