Closed southpawgeek closed 2 months ago
local my_text = ""
rom.gui.add_imgui(function()
if rom.ImGui.Begin("My Custom Window") then
my_text, is_text_changed = rom.ImGui.InputText("some label", my_text, 100)
if is_text_changed then
print("text changed")
end
end
rom.ImGui.End()
end)
I tried copying directly from the docs to be sure, but none of them seem to be working:
Example
text, selected = rom.ImGui.InputText("Label", text, 100)
causesSame thing seems to happen with
InputTextMultiline
,InputTextWithHint
, and others.