Skip to content

Commit

Permalink
fix #236: fix rune conflicts with command mode
Browse files Browse the repository at this point in the history
  • Loading branch information
F1bonacc1 committed Aug 22, 2024
1 parent 9292f9f commit 44f9226
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tui/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,10 @@ func (pv *pcView) onMainGridKey(event *tcell.EventKey) *tcell.EventKey {
return event
}
pv.shortcuts.ShortCutKeys[ActionLogFindExit].actionFn()
case pv.shortcuts.ShortCutKeys[ActionMarkLog].rune:
pv.shortcuts.ShortCutKeys[ActionMarkLog].actionFn()
default:
if !pv.isCommandModeDisabled() {
return event
}
return pv.shortcuts.runRuneAction(event.Rune(), event) //event
}
default:
Expand Down

0 comments on commit 44f9226

Please sign in to comment.