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

Function IConsoleResetHistoryPos

src/console_gui.cpp:127–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127static inline void IConsoleResetHistoryPos()
128{
129 _iconsole_historypos = -1;
130}
131
132
133static std::optional<std::string_view> IConsoleHistoryAdd(std::string_view cmd);

Callers 4

OnKeyPressMethod · 0.85
InsertTextStringMethod · 0.85
IConsoleGUIInitFunction · 0.85
IConsoleHistoryAddFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected