yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia
MIT License
1.34k stars 30 forks source link

Images of telescope-media-files are displayed in the terminal. #234

Closed Eloitor closed 2 years ago

Eloitor commented 2 years ago

Steps to reproduce: Install https://github.com/nvim-telescope/telescope-media-files.nvim Run fvim from a terminal. When previwing an image, the preview is displayed in the terminal and not in fvim.

yatli commented 2 years ago

That's one of a novel bug 🆕

I feel this is a plugin bug that assumes that neovim is ran in a sixel-enabled environment and then forced the sequence onto stdout.

If you're going to open up a bug report to them, here's a possible workaround: use https://github.com/yatli/gui-widgets.nvim instead of sixel in case there's a frontend GUI. Currently fvim and goneovim support this.

Eloitor commented 2 years ago

Thank you, I'll open an Issue there

yatli commented 2 years ago

A fellow frontend dev kindly pointed out that the plugin is not using sixel but some magical X11 window overlays. So correction:

I feel this is a plugin bug that assumes that neovim is ran in a environment and then forced the sequence onto .

Replace sixel with X11 magic :)

yatli commented 2 years ago

closing for now, feel free to update.