bubbles icon indicating copy to clipboard operation
bubbles copied to clipboard

textinput does not work well with pinyin(Chinese) input method

Open shafreeck opened this issue 2 years ago • 16 comments

image

As the image showed above, the textinput bubble can not render correctly when input with an input method?

PS: here I use gum to just give an example

shafreeck avatar Mar 27 '23 04:03 shafreeck

Hi @shafreeck are you still having this issue? If so, could you please let us know? Thank you!

bashbunni avatar Jul 07 '23 17:07 bashbunni

@shafreeck what OS and IME are you using? Bubble Tea has had IME support for quite some time, though we've only tested on Windows on macOS.

Please do let us know—this one is important to us.

meowgorithm avatar Jul 07 '23 18:07 meowgorithm

In Linux, with fcitx5 Chinese input method, the candidate box position is incorrect, displayed outside the TUI program.

SLin0218 avatar Nov 28 '23 09:11 SLin0218

It works great on Linux + fcitx5 + wezterm + DWM

download

fzdwx avatar Nov 29 '23 01:11 fzdwx

@fzdwx 你清屏在顶部看看,会不会在最下面。 Peek 2023-12-06 17-33

SLin0218 avatar Dec 06 '23 09:12 SLin0218

download (1)

fzdwx avatar Dec 06 '23 09:12 fzdwx

I installed fcitx5-input-support (archlinux) this might help you guys.

fzdwx avatar Dec 06 '23 09:12 fzdwx

@fzdwx 你这个不全屏的, 我是全屏的

SLin0218 avatar Dec 06 '23 09:12 SLin0218

Peek 2023-12-06 17-56

SLin0218 avatar Dec 06 '23 09:12 SLin0218

i think the actual position of the cursor is not correct.

SLin0218 avatar Dec 06 '23 09:12 SLin0218

@fzdwx 我是说你 tui 程序

SLin0218 avatar Dec 06 '23 09:12 SLin0218

他这个确实没有跟随,我发的那个只是解决了 wezterm 的问题。

fzdwx avatar Dec 06 '23 09:12 fzdwx

实际光标被顶到最下面了

SLin0218 avatar Dec 06 '23 09:12 SLin0218

Aha, so it is the cursor position indeed. It's particularly noticeable when the altscreen is active because the cursor is always kept in the bottom left corner.

meowgorithm avatar Dec 06 '23 12:12 meowgorithm

So we're keen to solve this one (international support is very important to us) but it will require some work both here in the Bubbles library as well as in Bubble Tea core renderer.

Thanks, everyone, for the insight and let us know if you discover any other issues.

meowgorithm avatar Dec 06 '23 15:12 meowgorithm

@meowgorithm Thank you for the work you've done. Although it's not very urgent, it would be great if it could be fixed.

SLin0218 avatar Dec 07 '23 02:12 SLin0218