Skip to content
Myr

Add `ignore` action for --bind

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 8e71645 · Browse files · 2 files+5 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+5 added−0 removed

  • other:+5 added−0 removed

2 files+5 added−0 removed

modified:src/options.go+2 added
389 unmodified lines
390 }391 key := keys[0]392 act := strings.ToLower(pair[1])393 switch act {394 case "ignore":395 keymap[key] = actIgnore396 case "beginning-of-line":397 keymap[key] = actBeginningOfLine398 case "abort":399 keymap[key] = actAbort
282 unmodified lines
modified:src/terminal.go+3 added
714 unmodified lines
715 action = act716 }717 }718 switch action {719 case actIgnore:720 t.mutex.Unlock()721 continue722 case actInvalid:723 t.mutex.Unlock()724 continue725 case actToggleSort:
226 unmodified lines