ImGui.NET
ImGui.NET copied to clipboard
ImGui.InputTextMultiline() doesn't allow me to type in
What i mean is, whenever i try to type text inside the Multiline text input, it just doesn't want to work (meanwhile erasing does work)
here's the code im using: `static void DrawCodeEditor() { ImGui.SetNextWindowPos(new Vector2(506, 315)); ImGui.SetNextWindowSize(new Vector2(621, 402)); ImGui.Begin("Code Editor");
ImGui.InputText("Command Name", ref createCommandName, 64);
ImGui.SameLine();
if(ImGui.Button("Create",new Vector2(70, 20)))
{
File.Copy(Util.Dir("Base/BaseCommand.lua"),$"{Cache.botPath}/commands/{createCommandName}.lua");
}
ImGui.InputTextMultiline("Text Editor", ref curText, 4294967295, new Vector2(621, 382));
ImGui.End();
}`
use a smaller value for your InputTextMultiline length, like ushort.MaxValue