diff --git a/src/options.go b/src/options.go index 2a041ef6..d88706ef 100644 --- a/src/options.go +++ b/src/options.go @@ -391,6 +391,8 @@ func parseKeymap(keymap map[int]actionType, toggleSort bool, str string) (map[in key := keys[0] act := strings.ToLower(pair[1]) switch act { + case "ignore": + keymap[key] = actIgnore case "beginning-of-line": keymap[key] = actBeginningOfLine case "abort": diff --git a/src/terminal.go b/src/terminal.go index 4ff26591..372c1970 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -716,6 +716,9 @@ func (t *Terminal) Loop() { } } switch action { + case actIgnore: + t.mutex.Unlock() + continue case actInvalid: t.mutex.Unlock() continue