Skip to content

Commit 7ba07bd

Browse files
committed
Logo (Image): partially revert 71cba24
Images in SSH session and tmux do work for me Fix #861
1 parent 9fee36a commit 7ba07bd

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/logo/image/image.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -849,15 +849,8 @@ bool ffLogoPrintImageIfExists(FFLogoType type, bool printError)
849849
return false;
850850
}
851851

852-
if (getenv("SSH_TTY"))
853-
{
854-
if(printError)
855-
fputs("Logo: Image logo is not supported in SSH sessions\n", stderr);
856-
return false;
857-
}
858-
859852
const char* term = getenv("TERM");
860-
if((term && ffStrEquals(term, "screen")) || getenv("ZELLIJ") || getenv("TMUX"))
853+
if((term && ffStrEquals(term, "screen")) || getenv("ZELLIJ"))
861854
{
862855
if(printError)
863856
fputs("Logo: Image logo is not supported in terminal multiplexers\n", stderr);

0 commit comments

Comments
 (0)