Made tmux and terminal renderers also work with this change