MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / clear

Function clear

src/lib/console.js:107–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 }
106 },
107 clear() {
108 originalConsole.clear();
109 if (isFocused) $input.focus();
110 $console.textContent = "";
111 $console.appendChild($inputContainer);
112 },
113 count(hash = "default") {
114 originalConsole.count(hash);
115 if (!counter[hash]) {

Callers

nothing calls this directly

Calls 2

focusMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected