Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ clearInput
Method
clearInput
src/OpenLoco/src/Ui/TextInput.cpp:143–149 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
141
}
142
143
void InputSession::clearInput()
144
{
145
buffer.clear();
146
cursorPosition = 0;
147
cursorFrame = 0;
148
xOffset = 0;
149
}
150
151
// 0x004CEBFB
152
void InputSession::sanitizeInput()
Callers
2
onMouseUp
Function · 0.80
onMouseUp
Function · 0.80
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected