Atomic docs

imgui.InputText

imgui.InputText(label: string, text: string?, maxLength: number?, flags: number?): (boolean, string)

A text box. maxLength is how much can be typed and defaults to 256; it is raised automatically if the text passed in is longer.

Example

lua
local changed
changed, key = imgui.InputText("key", key, 64, imgui.InputTextFlags.Password)
↑