9

iTerm2 is able to display images within the terminal. I'm using the imgcat script and it works fine, but when I'm inside of tmux it does nothing. Is there a way to be able to preview images inline in tmux in iTerm2?

aharris88
  • 1,121
  • 1
  • 10
  • 13
  • 2
    The version of `imgcat` you posted there DOES include some `tmux` workarounds; if it doesn't work, it may be a better idea to report it to https://gitlab.com/gnachman/iterm2/issues. – Mingye Wang Sep 17 '15 at 05:02

1 Answers1

3

It is working now. Here is a screenshot using the current imgcat script along with

  • iTerm 3.0.2
  • tmux 2.2 (MacPorts)

on OSX El Capitan (10.11.5):

enter image description here

The developer is very active, and if it was not working last September there may be a related bug-report/issue number (there are many open issues mentioning imgcat).

Thomas Dickey
  • 75,040
  • 9
  • 171
  • 268