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

Function createPasteKey

src/ink/parse-keypress.ts:71–85  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

69const SGR_MOUSE_RE = /^\x1b\[<(\d+);(\d+);(\d+)([Mm])$/
70
71function createPasteKey(content: string): ParsedKey {
72 return {
73 kind: 'key',
74 name: '',
75 fn: false,
76 ctrl: false,
77 meta: false,
78 shift: false,
79 option: false,
80 super: false,
81 sequence: content,
82 raw: content,
83 isPasted: true,
84 }
85}
86
87/** DECRPM status values (response to DECRQM) */
88export const DECRPM_STATUS = {

Callers 1

parseMultipleKeypressesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected