Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
127
static inline void IConsoleResetHistoryPos()
128
{
129
_iconsole_historypos = -1;
130
}
131
132
133
static std::optional<std::string_view> IConsoleHistoryAdd(std::string_view cmd);
Callers
4
OnKeyPress
Method · 0.85
InsertTextString
Method · 0.85
IConsoleGUIInit
Function · 0.85
IConsoleHistoryAdd
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected