@@ -1433,10 +1433,12 @@ func (m *UI) handleKeyPressMsg(msg tea.KeyPressMsg) tea.Cmd {
14331433 }
14341434 m.newSession()
14351435 case key.Matches(msg, m.keyMap.Tab):
1436− m.focus = uiFocusMain
1437− m.textarea.Blur()
1438− m.chat.Focus()
1439− m.chat.SetSelected(m.chat.Len() - 1)
1436+ if m.state != uiLanding {
1437+ m.focus = uiFocusMain
1438+ m.textarea.Blur()
1439+ m.chat.Focus()
1440+ m.chat.SetSelected(m.chat.Len() - 1)
1441+ }
14401442 case key.Matches(msg, m.keyMap.Editor.OpenEditor):
14411443 if m.isAgentBusy() {
14421444 cmds = append(cmds, uiutil.ReportWarn("Agent is working, please wait..."))