Polyman Documentation - v3.1.0
Preparing search index...
agent/tui/editor
enter
Function enter
enter
(
s
:
EditorState
,
)
:
{
kind
:
"newline"
;
state
:
EditorState
}
|
{
kind
:
"send"
;
text
:
string
}
Enter: with a `` just before the cursor it becomes a new line, else the text is ready to send.
Parameters
s
:
EditorState
Returns
{
kind
:
"newline"
;
state
:
EditorState
}
|
{
kind
:
"send"
;
text
:
string
}
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Polyman Documentation - v3.1.0
Loading...
Enter: with a `` just before the cursor it becomes a new line, else the text is ready to send.