3rd / image.nvim

🖼️ Bringing images to Neovim.
MIT License
803 stars 35 forks source link

Wezterm Sticky Image #188

Open 00y300 opened 6 days ago

00y300 commented 6 days ago

I am using WezTerm with the Kitty Image Protocol, but I am experiencing an issue where the image does not disappear when my cursor moves away. Instead, the image stays and gets cut off.

https://github.com/3rd/image.nvim/assets/72098565/5759820f-4215-4a78-9794-3a2ef0e2bdab

Here is my ~/.wezterm.lua configuration file:


local wezterm = require("wezterm")
local config = {}

-- Theme
config.color_scheme = "Catppuccin Mocha"

-- Font Sizes
config.font = wezterm.font("Hurmit Nerd Font Mono")
config.font_size = 18

-- Setting the Image Protocol
config.enable_kitty_graphics = true

return config
3rd commented 6 days ago

Hey, Wezterm's implementation of Kitty's graphics protocol has issues (and bad performance), which is whybwe don't support it.