Logo (Image): partially revert 71cba24

Images in SSH session and tmux do work for me

Fix #861
This commit is contained in:
李通洲
2024-05-04 19:43:41 +08:00
parent 9fee36a286
commit 7ba07bd2e0
+1 -8
View File
@@ -849,15 +849,8 @@ bool ffLogoPrintImageIfExists(FFLogoType type, bool printError)
return false;
}
if (getenv("SSH_TTY"))
{
if(printError)
fputs("Logo: Image logo is not supported in SSH sessions\n", stderr);
return false;
}
const char* term = getenv("TERM");
if((term && ffStrEquals(term, "screen")) || getenv("ZELLIJ") || getenv("TMUX"))
if((term && ffStrEquals(term, "screen")) || getenv("ZELLIJ"))
{
if(printError)
fputs("Logo: Image logo is not supported in terminal multiplexers\n", stderr);