tui: fix delete key name mapping in keybind utility
Some checks are pending
format / format (push) Waiting to run
snapshot / publish (push) Waiting to run
test / test (push) Waiting to run

This commit is contained in:
Dax Raad 2025-09-29 02:17:36 -04:00
parent 4f07aecf18
commit 7046c4bb30

View file

@ -19,7 +19,10 @@ export namespace Keybind {
if (info.ctrl) parts.push("ctrl")
if (info.option) parts.push("alt")
if (info.shift) parts.push("shift")
if (info.name) parts.push(info.name)
if (info.name) {
if (info.name === "delete") parts.push("del")
else parts.push(info.name)
}
let result = parts.join("+")