chore: small editor fix

Kujtim Hoxha created

Change summary

internal/tui/page/chat/chat.go | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

internal/tui/page/chat/chat.go 🔗

@@ -505,6 +505,8 @@ func (p *chatPage) newSession() tea.Cmd {
 
 	p.session = session.Session{}
 	p.focusedPane = PanelTypeEditor
+	p.editor.Focus()
+	p.chat.Blur()
 	p.isCanceling = false
 	return tea.Batch(
 		util.CmdHandler(chat.SessionClearedMsg{}),