Optionaldata: MenuEditorConfigsJsonOptional JSON with clear, postfix, waitForUserInput, validate, and callback.
Returns true when the screen is cleared before opening the editor.
Sets whether the screen is cleared before opening the editor.
Returns the file extension postfix used for the temp file (e.g. ".env").
Sets the file extension postfix for the temp file.
Returns true when the editor waits for user confirmation before opening.
Sets whether the prompt waits for a keypress before opening the editor.
Returns the validation function, or undefined if not configured.
Returns the submission callback, or undefined if not configured.
Sets the callback invoked after successful submission.
Serialises the config to a plain JSON-compatible object.
ProtectedclearProtectedpostfixProtectedwaitProtected OptionalvalidateProtected Optionalcallback
Creates a new MenuEditorConfigs with defaults.