MCPcopy Index your code
hub / github.com/tiny-pilot/tinypilot / setKeystrokeHistoryStatus

Function setKeystrokeHistoryStatus

app/static/js/app.js:223–232  ·  view source on GitHub ↗
(isEnabled)

Source from the content-addressed store, hash-verified

221}
222
223function setKeystrokeHistoryStatus(isEnabled) {
224 if (isEnabled) {
225 settings.enableKeystrokeHistory();
226 document.getElementById("status-bar").keystrokeHistory.enable();
227 } else {
228 settings.disableKeystrokeHistory();
229 document.getElementById("status-bar").keystrokeHistory.disable();
230 }
231 document.getElementById("menu-bar").isInputIndicatorEnabled = isEnabled;
232}
233
234document.onload = document.getElementById("app").focus();
235

Callers 1

app.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected