on main help sign in
chore: small editor fix
4a81efbKujtim Hoxha
internal/tui/page/chat/chat.go+2
@@ -505,6 +505,8 @@ func (p *chatPage) newSession() tea.Cmd {
505
505
506 p.session = session.Session{}
506 p.session = session.Session{}
507 p.focusedPane = PanelTypeEditor
507 p.focusedPane = PanelTypeEditor
508+ p.editor.Focus()
509+ p.chat.Blur()
508 p.isCanceling = false
510 p.isCanceling = false
509 return tea.Batch(
511 return tea.Batch(
510 util.CmdHandler(chat.SessionClearedMsg{}),
512 util.CmdHandler(chat.SessionClearedMsg{}),