refactor(tui): remove unused v1 config aliases and keybind values (#52990)

This commit is contained in:
Kit Langton
2026-10-03 21:33:03 -07:00
committed by GitHub
Unverified
parent 697ca1c9d3
commit 5d6804eaac
3 changed files with 0 additions and 8 deletions
-2
View File
@@ -347,8 +347,6 @@ export function parse(keybinds: KeybindOverrides): Keybinds {
) as Keybinds
}
export const Keybinds = { parse }
export function unknownKeys(input: object) {
return Object.keys(input).filter((key) => !KeybindNames.has(key))
}
-1
View File
@@ -1,4 +1,3 @@
export * as TuiConfig from "."
export * as TuiConfigV1 from "."
import { createBindingLookup } from "@opentui/keymap/extras"
-5
View File
@@ -248,9 +248,6 @@ export const KeybindOverrides = Schema.Struct(
]),
),
).annotate({ description: "TUI keybinding overrides" })
export const Descriptions = Object.fromEntries(
Object.entries(Definitions).map(([name, item]) => [name, item.description]),
) as Record<KeybindName, string>
export const CommandMap = {
app_exit: "app.exit",
app_debug: "app.debug",
@@ -454,8 +451,6 @@ export function parse(keybinds: KeybindOverrides): Keybinds {
) as Keybinds
}
export const Keybinds = { parse }
export function unknownKeys(input: object) {
return Object.keys(input).filter((key) => !KeybindNames.has(key))
}