ytfzf icon indicating copy to clipboard operation
ytfzf copied to clipboard

ytfzf search crashes my terminal

Open one618 opened this issue 3 years ago • 5 comments

I'm on arch Linux and i have all dependencies installed ueberzug fzf youtube-dl mpv jq

every time i try to search my terminal crashes, any ideas what might be causing this issue ?

one618 avatar Nov 15 '21 17:11 one618

Should not every time, but you should expect crashing from search. I figured out, if it tries to show long results more than the fzf supports, it crashes.

Using ytfzf with --ext-menu, -D should solve that. You can change --ext-menu variable by like that:

export YTFZF_EXTMENU="dmenu -l 30"

If you want to keep it permanent:

echo 'export YTFZF_EXTMENU="dmenu -l 30"' >> /etc/environment

It is a temporary solution until fzf fixes it up.

pfcdx avatar Jan 01 '22 08:01 pfcdx

export YTFZF_EXTMENU="dmenu -l 30"

This has been changed to a function so, you can add this to ~/.config/ytfzf/conf.sh instead of that variable.

external_menu () {
    dmenu -l 30
}

Euro20179 avatar Jan 05 '22 05:01 Euro20179

If you're using st it might be because it's trying to display non-ascii characters

Euro20179 avatar Mar 04 '22 03:03 Euro20179

If you're using st it might be because it's trying to display non-ascii characters

I am using st, and my terminal crashes very often

ghost avatar Apr 18 '22 06:04 ghost

you should try using a different terminal, or patching st to have unicode support.

If youve alreasy patched st I would just try a different terminal

Euro20179 avatar Apr 18 '22 13:04 Euro20179

Yeah, ytfzf didn't worked in kitty, while it worked flawlessly in GNOME terminal. Thanks @Euro20179 :)

3009aksingh avatar Dec 27 '22 03:12 3009aksingh