mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-08-31 20:04:43 +08:00
Introduce WithRestoredIO (#307)
This function allow running a callback with the terminal hooks temporarily uninstalled. Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:

committed by
GitHub

parent
cd82fccde7
commit
b4a655ec65
@@ -24,6 +24,9 @@ unreleased (development)
|
||||
|
||||
#### Component
|
||||
- Add the `collapsible` component.
|
||||
- Add the `ScreenInteractive::WithRestoredIO`. This decorates a callback. This
|
||||
runs it with the terminal hooks temporarilly uninstalled. This is useful if
|
||||
you want to execute command using directly stdin/stdout/sterr.
|
||||
|
||||
### Bug
|
||||
|
||||
|
Reference in New Issue
Block a user