Fix windows build.

This commit is contained in:
ArthurSonzogni
2025-10-19 19:34:52 +02:00
parent 01d2451dfd
commit 8bdf7cd701

View File

@@ -679,8 +679,8 @@ void ScreenInteractive::Install() {
} }
void ScreenInteractive::InstallPipedInputHandling() { void ScreenInteractive::InstallPipedInputHandling() {
tty_fd_ = STDIN_FILENO;
#if !defined(_WIN32) && !defined(__EMSCRIPTEN__) #if !defined(_WIN32) && !defined(__EMSCRIPTEN__)
tty_fd_ = STDIN_FILENO;
// Handle piped input redirection if explicitly enabled by the application. // Handle piped input redirection if explicitly enabled by the application.
// This allows applications to read data from stdin while still receiving // This allows applications to read data from stdin while still receiving
// keyboard input from the terminal for interactive use. // keyboard input from the terminal for interactive use.