mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Tweak implementation and documentation.
This commit is contained in:
@@ -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);
|
||||
```
|
||||
```
|
||||
|
Reference in New Issue
Block a user