diff options
Diffstat (limited to 'internal/tui/keys.go')
-rw-r--r-- | internal/tui/keys.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/tui/keys.go b/internal/tui/keys.go index 5cbefa4..c4ccad3 100644 --- a/internal/tui/keys.go +++ b/internal/tui/keys.go @@ -118,6 +118,16 @@ var Bindings map[KeyBindingScope]map[string]KeyBinding = map[KeyBindingScope]map }, Result: func(*AppModel) tea.Cmd { return editClientOrProject() }, }, + "f": KeyBinding{ + Key: "f", + Description: func(m AppModel) string { + if m.projectsBox.selectedProject != nil { + return "Filter to Project" + } + return "Filter to Client" + }, + Result: func(*AppModel) tea.Cmd { return filterHistoryFromProjectBox() }, + }, "down": KeyBinding{ Key: "down", Description: func(AppModel) string { return "Down" }, |