viu icon indicating copy to clipboard operation
viu copied to clipboard

kitty use viu blurred out

Open newyorkthink opened this issue 2 years ago • 4 comments

I use kitty and play picture ,but is blurred out.

image

newyorkthink avatar Nov 14 '22 03:11 newyorkthink

I had the same issue. It seems that either kitty or zsh set $TERM to xterm while viu wants $TERM to be xterm kitty as seen in the demo in the readme.

However, it would be great if anyone knows why this is and how to fix it (properly). Especially as zsh says zsh: can't find terminal definition for xterm kitty when you set it manually.

MTRNord avatar Feb 16 '23 21:02 MTRNord

I had the same issue. It seems that either kitty or zsh set $TERM to xterm while viu wants $TERM to be xterm kitty as seen in the demo in the readme.

However, it would be great if anyone knows why this is and how to fix it (properly). Especially as zsh says zsh: can't find terminal definition for xterm kitty when you set it manually.

Indeed, using env TERM="xterm kitty" viu path/to/image.png worked for me, that’s at least a workaround if i can’t make that value default.

tshirtman avatar Mar 06 '23 12:03 tshirtman

I had the same issue. It seems that either kitty or zsh set $TERM to xterm while viu wants $TERM to be xterm kitty as seen in the demo in the readme. However, it would be great if anyone knows why this is and how to fix it (properly). Especially as zsh says zsh: can't find terminal definition for xterm kitty when you set it manually.

Indeed, using env TERM="xterm kitty" viu path/to/image.png worked for me, that’s at least a workaround if i can’t make that value default.

It not about kitty , the problem is tmux

newyorkthink avatar Mar 06 '23 13:03 newyorkthink

I had the same issue. It seems that either kitty or zsh set $TERM to xterm while viu wants $TERM to be xterm kitty as seen in the demo in the readme. However, it would be great if anyone knows why this is and how to fix it (properly). Especially as zsh says zsh: can't find terminal definition for xterm kitty when you set it manually.

Indeed, using env TERM="xterm kitty" viu path/to/image.png worked for me, that’s at least a workaround if i can’t make that value default.

It not about kitty , the problem is tmux

The issue happens for me with zsh and kitty too. I dont use tmux at all.

MTRNord avatar Mar 06 '23 15:03 MTRNord