MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / IConsoleClearCommand

Function IConsoleClearCommand

src/console_gui.cpp:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 * *************** */
119
120static void IConsoleClearCommand()
121{
122 _iconsole_cmdline.DeleteAll();
123 _iconsole_tab_completion.Reset();
124 SetWindowDirty(WC_CONSOLE, 0);
125}
126
127static inline void IConsoleResetHistoryPos()
128{

Callers 2

OnKeyPressMethod · 0.85
IConsoleGUIInitFunction · 0.85

Calls 3

SetWindowDirtyFunction · 0.85
DeleteAllMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected