mirror of
https://github.com/ollama/ollama.git
synced 2026-04-29 15:38:27 -05:00
fix: handle Enter key pressed during model loading (#13839)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user