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

Function createNavKey

src/ink/parse-keypress.ts:807–821  ·  view source on GitHub ↗
(s: string, name: string, ctrl: boolean)

Source from the content-addressed store, hash-verified

805}
806
807function createNavKey(s: string, name: string, ctrl: boolean): ParsedKey {
808 return {
809 kind: 'key',
810 name,
811 ctrl,
812 meta: false,
813 shift: false,
814 option: false,
815 super: false,
816 fn: false,
817 sequence: s,
818 raw: s,
819 isPasted: false,
820 }
821}

Callers 1

parseKeypressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected