(a: Info, b: Info)
| 11 | } |
| 12 | |
| 13 | export function match(a: Info, b: Info): boolean { |
| 14 | // Normalize super field (undefined and false are equivalent) |
| 15 | const normalizedA = { ...a, super: a.super ?? false } |
| 16 | const normalizedB = { ...b, super: b.super ?? false } |
| 17 | return isDeepEqual(normalizedA, normalizedB) |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Convert OpenTUI's ParsedKey to our Keybind.Info format. |
nothing calls this directly
no outgoing calls
no test coverage detected