Start new conversations from TUI
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user