(active: ActiveKey<Renderable, KeyEvent>)
| 119 | } |
| 120 | |
| 121 | function activeKeyGroup(active: ActiveKey<Renderable, KeyEvent>) { |
| 122 | if (active.continues) return "System" |
| 123 | return text(active.commandAttrs?.category) ?? text(active.bindingAttrs?.group) ?? UNKNOWN |
| 124 | } |
| 125 | |
| 126 | function activeKeyEntry(api: TuiPluginApi, active: ActiveKey<Renderable, KeyEvent>): Entry { |
| 127 | const key = api.keys.formatSequence([ |
no test coverage detected