imgcat
imgcat copied to clipboard
doesn't work with tmux on MacOS
when invoked from a tmux window, the display seems to show a base64 version of the image file
Hi! Could you please list the versions of tmux and iTerm 2 you're using? Also, are you using regular tmux or tmux integration mode?
I'm using iTerm2 version 3.3.9 and tmux 3.0a
I'm not using the integration mode because I didn't know what it was until I read your question :) now I will look into it! thanks!
Hi. I am having this issue to. I am using regular tmux in iTerm, but also have tried in Alacritty with tmux and still no images. This is tested using ranger, which works in a regular iTerm session, but not in tmux. Therefore, seems to be a problem between tmux and imgcat.
~
❯ sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H15
~
❯ ranger --version
ranger version: ranger 1.9.3
Python version: 2.7.16 (default, Jun 5 2020, 22:59:21) [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc-
Locale: None.None
~
❯ tmux -V
tmux 3.1c
~
❯ imgcat --version
imgcat 2.5.0
~
❯ alacritty -V
alacritty 0.5.0 (a6681e3)
iTerm2 Build 3.4.1
@atanasj I'm seeing the same thing. imgcat
works for me in an iTerm2 terminal, but not in a Tmux window.
Note to self: this is a way of working with tmux:
https://github.com/wookayin/python-imgcat/blob/d77d57fd289dac1d486ee8ee22169844f62046bd/imgcat/iterm2.py
@eddieantonio, that looks promising… How best to get this running inside tmux
on alacritty I wonder…