Documentation
¶
Overview ¶
Example demonstrating the module-level console API and how background tasks can access the shared TUI.
Index ¶
Constants ¶
View Source
const LibraryName = "scriptling.console"
Variables ¶
This section is empty.
Functions ¶
func ExampleBackgroundTask ¶ added in v0.5.0
func ExampleBackgroundTask()
ExampleBackgroundTask demonstrates how a background goroutine can access the shared console TUI and write to panels.
func ExampleModuleLevelAPI ¶ added in v0.5.0
func ExampleModuleLevelAPI()
ExampleModuleLevelAPI demonstrates the new module-level console API.
func NewLibrary ¶
NewLibrary creates the scriptling.console library.
func ResetConsole ¶ added in v0.5.0
func ResetConsole()
ResetConsole resets the singleton for testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.