Skip to content

Commit 8bdf7cd

Browse files
Fix windows build.
1 parent 01d2451 commit 8bdf7cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ftxui/component/screen_interactive.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,8 @@ void ScreenInteractive::Install() {
679679
}
680680

681681
void ScreenInteractive::InstallPipedInputHandling() {
682-
tty_fd_ = STDIN_FILENO;
683682
#if !defined(_WIN32) && !defined(__EMSCRIPTEN__)
683+
tty_fd_ = STDIN_FILENO;
684684
// Handle piped input redirection if explicitly enabled by the application.
685685
// This allows applications to read data from stdin while still receiving
686686
// keyboard input from the terminal for interactive use.

0 commit comments

Comments
 (0)