fzf-tab icon indicating copy to clipboard operation
fzf-tab copied to clipboard

fix multiline prompt

Open qchateau opened this issue 3 years ago • 4 comments

Hi,

I don't know what I'm doing, but I know it fixes my problem. I'm using oh-my-zsh with p10k and a multi-line prompt. The multi-line seems to break fzf-tab,with my prompt scrolling up everytime I press tab and there no completion, and everytime I press '/' for continuous completion.

I have no idea whether this PR would break other users but I'll keep using it in my fork since I need it. So better open a PR and share it

qchateau avatar Nov 06 '21 21:11 qchateau

I also use multiline prompt.

Are you using custom fzf-command? Can your provide a minimal zshrc to reproduce this bug?

Aloxaf avatar Nov 30 '21 01:11 Aloxaf

I also have this issue on oh-my-zsh, and when removing the fzf-tab plugin the issue disappeared. However, I found out later, after some debugging, that the issue also disappeared when I removed COMPLETION_WAITING_DOTS="true" and kept the fzf-tab plugin. So it seems this option and fzf-tab don't work together well.

gitaarik avatar May 12 '22 15:05 gitaarik

I have the same problem; for me, disabling the waiting dots is not a good solution because I often deal with slow mounts and I find the visual indication very useful. @Aloxaf, is the workaround proposed in this PS something that can break other stuff? I'm not sufficiently familiar with the completion system to judge for myself.

exzombie avatar Mar 22 '23 14:03 exzombie