Cell API
Docs
GitHub
Preparing search index...
@celljs/tui
TuiFactory
Interface TuiFactory
Creates pi-tui
TUI
s and stops them, restoring the terminal, when the application stops.
interface
TuiFactory
{
create
(
options
?:
TuiOptions
)
:
Promise
<
TUI
>
;
stopAll
()
:
void
;
}
Implemented by
DefaultTuiFactory
Index
Methods
create
stop
All
Methods
create
create
(
options
?:
TuiOptions
)
:
Promise
<
TUI
>
Parameters
Optional
options
:
TuiOptions
Returns
Promise
<
TUI
>
stop
All
stopAll
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
stop
All
Docs
GitHub
Cell API
Loading...
Creates pi-tui
TUIs and stops them, restoring the terminal, when the application stops.