fix(tui): yes/no init selection (#1074)

Ayman Bagabas created

This commit ensures that the "Yes" and "No" options in the init screen
get properly selected when navigating with the keyboard.

Related: https://github.com/charmbracelet/crush/issues/1048

Change summary

internal/tui/components/chat/splash/splash.go | 1 +
1 file changed, 1 insertion(+)

Detailed changes

internal/tui/components/chat/splash/splash.go 🔗

@@ -253,6 +253,7 @@ func (s *splashCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
 				return s, cmd
 			}
 			if s.needsProjectInit {
+				s.selectedNo = false
 				return s, s.initializeProject()
 			}
 		case key.Matches(msg, s.keyMap.No):