mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
add bracketed paste mode (#922)
This commit is contained in:
@@ -553,6 +553,9 @@ func generateInteractive(cmd *cobra.Command, model string) error {
|
||||
wordWrap = false
|
||||
}
|
||||
|
||||
fmt.Print(readline.StartBracketedPaste)
|
||||
defer fmt.Printf(readline.EndBracketedPaste)
|
||||
|
||||
var multiLineBuffer string
|
||||
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user