MCPcopy Create free account
hub / github.com/clementgallet/libTAS / ExampleAppConsole

Method ExampleAppConsole

src/external/imgui/imgui_demo.cpp:6923–6938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6921 bool ScrollToBottom;
6922
6923 ExampleAppConsole()
6924 {
6925 IMGUI_DEMO_MARKER("Examples/Console");
6926 ClearLog();
6927 memset(InputBuf, 0, sizeof(InputBuf));
6928 HistoryPos = -1;
6929
6930 // "CLASSIFY" is here to provide the test case where "C"+[tab] completes to "CL" and display multiple matches.
6931 Commands.push_back("HELP");
6932 Commands.push_back("HISTORY");
6933 Commands.push_back("CLEAR");
6934 Commands.push_back("CLASSIFY");
6935 AutoScroll = true;
6936 ScrollToBottom = false;
6937 AddLog("Welcome to Dear ImGui!");
6938 }
6939 ~ExampleAppConsole()
6940 {
6941 ClearLog();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected