Fixed a few cosmetic bugs
- Clear status messages when setting or deleting fields - Fixed "Filter" status label
This commit is contained in:
parent
0c377e231a
commit
5f76836166
7 changed files with 22 additions and 12 deletions
|
|
@ -10,8 +10,10 @@ func Error(err error) tea.Msg {
|
|||
return ErrorMsg(err)
|
||||
}
|
||||
|
||||
func SetStatus(msg string) tea.Msg {
|
||||
return StatusMsg(msg)
|
||||
func SetStatus(msg string) tea.Cmd {
|
||||
return func() tea.Msg {
|
||||
return StatusMsg(msg)
|
||||
}
|
||||
}
|
||||
|
||||
func PromptForInput(prompt string, onDone func(value string) tea.Msg) tea.Msg {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue