diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 94a5b52..8f782ac 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -1871,6 +1871,7 @@ ExampleAppConsole() { ClearLog(); + memset(InputBuf, 0, sizeof(InputBuf)); HistoryPos = -1; Commands.push_back("HELP"); Commands.push_back("HISTORY");