View imgcat
#!/bin/bash
# Put this in bin folder and then:
# chmod +x imgcat
# From: https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/imgcat
# tmux requires unrecognized OSC sequences to be wrapped with DCS tmux;
# <sequence> ST, and for all ESCs in <sequence> to be replaced with ESC ESC. It
# only accepts ESC backslash for ST.
function print_osc() {