MCPcopy Create free account
hub / github.com/Noumena-Network/code / constructor

Method constructor

src/ink/events/input-event.ts:199–206  ·  view source on GitHub ↗
(keypress: ParsedKey)

Source from the content-addressed store, hash-verified

197 readonly input: string
198
199 constructor(keypress: ParsedKey) {
200 super()
201 const [key, input] = parseKey(keypress)
202
203 this.keypress = keypress
204 this.key = key
205 this.input = input
206 }
207}

Callers

nothing calls this directly

Calls 1

parseKeyFunction · 0.85

Tested by

no test coverage detected