Discover Packages
github.com/paularlott/scriptling
extlibs
console
package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Mar 20, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewLibrary creates the scriptling.console library.
func Register(registrar interface{ RegisterLibrary(*object .Library ) })
Register registers the console library with a scriptling instance.
SetSubmit wires an external submit handler into a Console instance,
replacing any previously registered on_submit callback.
TUIFrom extracts the underlying *tui.TUI from a Console instance.
Used by external packages (e.g. scriptling.messaging.console) to bridge into the TUI.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.