MCPcopy Create free account
hub / github.com/bluescan/tacentview / ExampleAppConsole

Method ExampleAppConsole

Contrib/imgui/imgui_demo.cpp:6512–6527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6510 bool ScrollToBottom;
6511
6512 ExampleAppConsole()
6513 {
6514 IMGUI_DEMO_MARKER("Examples/Console");
6515 ClearLog();
6516 memset(InputBuf, 0, sizeof(InputBuf));
6517 HistoryPos = -1;
6518
6519 // "CLASSIFY" is here to provide the test case where "C"+[tab] completes to "CL" and display multiple matches.
6520 Commands.push_back("HELP");
6521 Commands.push_back("HISTORY");
6522 Commands.push_back("CLEAR");
6523 Commands.push_back("CLASSIFY");
6524 AutoScroll = true;
6525 ScrollToBottom = false;
6526 AddLog("Welcome to Dear ImGui!");
6527 }
6528 ~ExampleAppConsole()
6529 {
6530 ClearLog();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected