mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
add bracketed paste mode (#922)
This commit is contained in:
parent
9bc5864a03
commit
a79f030e75
3 changed files with 36 additions and 18 deletions
|
@ -72,6 +72,14 @@ const (
|
|||
|
||||
const (
|
||||
CharBracketedPaste = 50
|
||||
CharBracketedPasteStart = 0
|
||||
CharBracketedPasteEnd = 1
|
||||
CharBracketedPasteStart = "00~"
|
||||
CharBracketedPasteEnd = "01~"
|
||||
)
|
||||
|
||||
type PasteMode int
|
||||
|
||||
const (
|
||||
PastModeOff = iota
|
||||
PasteModeStart
|
||||
PasteModeEnd
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue