Commit ca10f3dcff
Unsigned
Layout: unified · split
internal/update.go +6 −5
| @@ -324,12 +324,13 @@ func HandlePendingUpdatePrompt(config *CurdConfig, currentVersion string) bool { | ||
| 324 | 324 | return false |
| 325 | 325 | } |
| 326 | 326 | |
| 327 | // Numbered labels keep priority order under DynamicSelect's alphabetical sort. | |
| 327 | 328 | options := []SelectionOption{ |
| 328 | {Key: "update", Label: "Update now"}, | |
| 329 | {Key: "later", Label: "Remind me later"}, | |
| 330 | {Key: "skip", Label: "Skip this version"}, | |
| 331 | {Key: "disable", Label: "Turn off automatic update checks"}, | |
| 332 | {Key: "continue", Label: "Continue without updating"}, | |
| 329 | {Key: "update", Label: "1. Update now"}, | |
| 330 | {Key: "later", Label: "2. Remind me later"}, | |
| 331 | {Key: "skip", Label: "3. Skip this version"}, | |
| 332 | {Key: "disable", Label: "4. Turn off automatic update checks"}, | |
| 333 | {Key: "continue", Label: "5. Continue without updating"}, | |
| 333 | 334 | } |
| 334 | 335 | prompt, message := buildUpdatePromptMessage(currentVersion, state) |
| 335 | 336 | |