Add niceties to time page

This commit is contained in:
Martin Pander
2026-02-02 12:44:12 +01:00
parent 9940316ace
commit 81b9d87935
6 changed files with 395 additions and 26 deletions

View File

@ -30,6 +30,7 @@ type Keymap struct {
Undo key.Binding
Fill key.Binding
StartStop key.Binding
Join key.Binding
}
// TODO: use config values for key bindings
@ -155,5 +156,10 @@ func NewKeymap() *Keymap {
key.WithKeys("s"),
key.WithHelp("start/stop", "Start/Stop"),
),
Join: key.NewBinding(
key.WithKeys("J"),
key.WithHelp("J", "Join with previous"),
),
}
}