zsh-autocomplete icon indicating copy to clipboard operation
zsh-autocomplete copied to clipboard

Cursor Blinking to New Line on Suggestions

Open hye-kim opened this issue 4 months ago • 4 comments

Environment

% typeset -p1 VENDOR OSTYPE ZSH_PATCHLEVEL _autocomplete__funcfiletrace
typeset VENDOR=ubuntu
typeset OSTYPE=linux-gnu
typeset ZSH_PATCHLEVEL=ubuntu/5.8.1-1
typeset -a _autocomplete__funcfiletrace=(
  /home/hye/.oh-my-zsh/custom/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh:4
  /home/hye/.oh-my-zsh/oh-my-zsh.sh:179
  /home/hye/.oh-my-zsh/oh-my-zsh.sh:208
  /home/hye/.zshrc:82
  zsh:0
)
% git -C ~autocomplete log --oneline -n1
c7b6550 (HEAD -> main, origin/main, origin/HEAD) Add instructions on how to insert longest common prefix
  • Operating system: Ubuntu 22.04.4 LTS
  • Terminal emulator: Windows Terminal

I'm assuming there's something wrong with my machine, but the cursor seems blink out of place rapidly with any new character input until no suggestions are found. I'm using oh-my-zsh on WSL 2. I've tried using just zsh-autocomplete without any other plugins, and have tried other themes, but still getting the same bug. This doesn't happen on my other machine, so I'm not sure what the problem could be.

https://github.com/marlonrichert/zsh-autocomplete/assets/61486500/095f1451-de1b-4857-b321-5714525b2ecc

hye-kim avatar Mar 04 '24 08:03 hye-kim

Same issue here with the Windows Terminal in WSL (Ubuntu 20.04.6 LTS).

michaeldebetaz avatar Mar 10 '24 22:03 michaeldebetaz

I believe this happens with linux terminals as well, but not to the same degree.

beracira avatar Apr 06 '24 20:04 beracira