Private
Public Access
1
0

Start new conversations from TUI

This commit is contained in:
2024-09-21 02:47:03 +00:00
parent a1fdf3f7cd
commit b8e3172ce0
4 changed files with 20 additions and 2 deletions

View File

@@ -56,6 +56,12 @@ func ViewEnter() tea.Cmd {
}
}
func ChangeView(view View) tea.Cmd {
return func() tea.Msg {
return MsgViewChange(view)
}
}
func KeyHandled(key tea.KeyMsg) tea.Cmd {
return func() tea.Msg {
return MsgKeyHandled(key)