Tweak implementation and documentation.

This commit is contained in:
ArthurSonzogni
2025-08-17 17:24:08 +02:00
parent 5c3e3151a5
commit dad2eaaa28
3 changed files with 53 additions and 46 deletions

View File

@@ -1,5 +1,9 @@
# POSIX Piped Input in FTXUI
> [!WARNING]
> This feature works only on Linux and macOS. It is not supported on
> Windows and WebAssembly.
## What is a POSIX Pipe?
A POSIX pipe is a way for two separate programs to communicate. One program sends its output directly as input to another program. Think of it like a one-way tube for data.
@@ -40,7 +44,6 @@ auto screen = ScreenInteractive::Fullscreen();
screen.Loop(component);
```
**Note:** This feature works only on Linux and macOS. It does nothing on Windows.
## Turning Off Piped Input
@@ -52,4 +55,4 @@ To disable it, call `HandlePipedInput(false)` before starting your application's
auto screen = ScreenInteractive::Fullscreen();
screen.HandlePipedInput(false); // Turn off piped input handling
screen.Loop(component);
```
```