Changing behavior for TryBindKey() for lua to not write to bindings.json

This commit is contained in:
Neko Box Coder
2025-09-06 20:25:47 +01:00
parent 0b9c7c0c4a
commit b39b5b5916
4 changed files with 19 additions and 10 deletions

View File

@@ -844,7 +844,7 @@ func (h *BufPane) BindCmd(args []string) {
return
}
_, err := TryBindKey(parseKeyArg(args[0]), args[1], true)
_, err := TryBindKey(parseKeyArg(args[0]), args[1], true, true)
if err != nil {
if errors.Is(err, util.ErrOverwrite) {
screen.TermMessage(err)