RunScope
Properties
Functions
Add some dispose logic, tied to the current section, which should run if the user tries to exit the application via Ctrl-C.
A one-off render block that can be triggered within a RenderScope.run block.
Waits for the currently requested or active render pass to finish executing if one is in progress.
Programmatically trigger an "input entered" event.
Fetch the current value of some input call from anywhere within a RunScope.run block, if one is set.
A callback you can register in a RunScope.run block that will get triggered any time an input gains focus.
A callback you can register in a RunScope.run block that will get triggered any time the changes their input.
A callback you can register in a RunScope.run block that will get triggered any time the user moves their cursor around the input value.
A callback you can register in a RunScope.run block that will get triggered any time an input loses focus.
A callback you can register in a RunScope.run block which will get triggered any time the user presses the ENTER key an input area that has focus.
A handler you can register in a RunScope.run block to intercept keypresses.
Add a listener that gets triggered every time the terminal is resized.
Fire a signal so that waitForSignal is allowed to continue.
Block this method from continuing until signal is called.