MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getInkModifiers

Function getInkModifiers

src/keybindings/match.ts:15–22  ·  view source on GitHub ↗

* Extract modifiers from an Ink Key object. * This function ensures we're explicitly extracting the modifiers we care about.

(key: Key)

Source from the content-addressed store, hash-verified

13 * This function ensures we're explicitly extracting the modifiers we care about.
14 */
15function getInkModifiers(key: Key): InkModifiers {
16 return {
17 ctrl: key.ctrl,
18 shift: key.shift,
19 meta: key.meta,
20 super: key.super,
21 }
22}
23
24/**
25 * Extract the normalized key name from Ink's Key + input.

Callers 1

matchesKeystrokeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected