fix: handle Enter key pressed during model loading (#13839)

This commit is contained in:
Parth Sareen
2026-01-22 21:32:02 -05:00
committed by GitHub
parent b5d0f72f16
commit f52c21f457
2 changed files with 38 additions and 9 deletions

View File

@@ -159,6 +159,7 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {
sb.WriteString(before)
if !ok {
fmt.Fprintln(&sb)
scanner.Prompt.UseAlt = true
continue
}