mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2025-02-20 11:43:27 +08:00
Revert "TerminalTheme: fix hanging on screen 5.0"
It breaks kitty terminal font detection This reverts commit 1ab86a8ab9dc0739e5f540618ad7d762747e4bdd.
This commit is contained in:
parent
c24d378cf1
commit
de59ffb31f
@ -144,7 +144,7 @@ const char* ffGetTerminalResponse(const char* request, const char* format, ...)
|
||||
{
|
||||
if (ftty < 0)
|
||||
{
|
||||
ftty = open("/dev/tty", O_RDWR | O_NOCTTY | O_CLOEXEC | O_NONBLOCK);
|
||||
ftty = open("/dev/tty", O_RDWR | O_NOCTTY | O_CLOEXEC);
|
||||
if (ftty < 0)
|
||||
return "open(\"/dev/tty\", O_RDWR | O_NOCTTY | O_CLOEXEC) failed";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user