Polyman Documentation - v3.1.0
    Preparing search index...

    Function enter

    • Enter: with a `` just before the cursor it becomes a new line, else the text is ready to send.

      Parameters

      Returns { kind: "newline"; state: EditorState } | { kind: "send"; text: string }