InputDialog
class in package klyn.gui.terminal

    public class InputDialog extends Dialog:

Object
└ Widget
└ Dialog
└ InputDialog

Input modal dialog.

Fields

Modifier and Type | Member | Description
--- | --- | ---
public | prompt `prompt as String = ""` | No summary.

Attributes inherited from Dialog: onAccept, onCancel, terminal, title
Attributes inherited from Widget: lastRenderAnsi, lastRenderHeight, lastRenderPlain, lastRenderWidth, layout, visible
Properties

Modifier and Type | Member | Description
--- | --- | ---
public property | text `text as String:` | No summary.

Properties inherited from Widget: focusable, focused, lastRenderFrame, position, size
Properties inherited from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | InputDialog `InputDialog(terminal as Terminal, title as String, prompt as String):` | No summary.

Methods inherited from Dialog: close, show
Methods inherited from Widget: add, baseAnsiStyle, captureRenderFrame, children, clearChildren, configureCursor, focusNext, handleEvent, handleMouseEvent, hasActiveTextInput, idle, paint, paintToFrame, performLayout, refresh, renderAnsiSnapshot, renderPlainSnapshot, scrollbarThumbGlyph, scrollbarTrackGlyph, terminalPromptVisible
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml