a geicko-2 based round robin ranking system designed to test c++ battleship submissions battleship.dunkirk.sh

feat: improve color support

dunkirk.sh f6b2ff16 3eaf361b

verified
+5 -2
battleship-arena

This is a binary file and will not be displayed.

+5 -2
cmd/battleship-arena/main.go
··· 142 142 return nil, nil 143 143 } 144 144 145 + // Get proper terminal options for color support 146 + opts := bubbletea.MakeOptions(s) 147 + 145 148 if needsOnboarding { 146 149 // Run onboarding first 147 150 publicKey := "" ··· 150 153 } 151 154 152 155 m := tui.NewOnboardingModel(s.User(), publicKey, pty.Window.Width, pty.Window.Height) 153 - return m, []tea.ProgramOption{tea.WithAltScreen()} 156 + return m, opts 154 157 } 155 158 156 159 m := tui.InitialModel(s.User(), pty.Window.Width, pty.Window.Height) 157 - return m, []tea.ProgramOption{tea.WithAltScreen()} 160 + return m, opts 158 161 } 159 162 160 163 func initStorage(cfg Config) error {