This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
ledger-tui/pkg/tui/dateinput/cmds.go
Tony Grosinger 461812eace Initial commit
Description, date, and total fields are functional. Next step is to
start adding structure to the form and adding a window to the side which
will show previous similar transactions and autocomplete suggestions.
Arrow keys will be able to auto-fill the current field from the selected
suggestion.
2022-08-04 08:39:37 -07:00

19 lines
233 B
Go

package dateinput
import tea "github.com/charmbracelet/bubbletea"
type Msg int
const (
NextInputMsg Msg = iota
PrevInputMsg
)
func NextInput() tea.Msg {
return NextInputMsg
}
func PrevInput() tea.Msg {
return PrevInputMsg
}