on main help sign in
fix(tui): yes/no init selection (#1074)

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

commit38bde491ad1c74e34ce0e4d8f7eba82c61436680 authorAyman Bagabas <ayman.bagabas@gmail.com> dateFri 19 Sep 2025, 14:45 (1 year ago) parentd55f807
1 file changed+1
internal/tui/components/chat/splash/splash.go+1
internal/tui/components/chat/splash/splash.go+1
@@ -253,6 +253,7 @@ func (s *splashCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
253253 return s, cmd
254254 }
255255 if s.needsProjectInit {
256+ s.selectedNo = false
256257 return s, s.initializeProject()
257258 }
258259 case key.Matches(msg, s.keyMap.No):