add bracketed paste mode (#922)

This commit is contained in:
Patrick Devine 2023-10-26 15:57:00 -07:00 committed by GitHub
parent 9bc5864a03
commit a79f030e75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 18 deletions

View file

@ -72,6 +72,14 @@ const (
const (
CharBracketedPaste = 50
CharBracketedPasteStart = 0
CharBracketedPasteEnd = 1
CharBracketedPasteStart = "00~"
CharBracketedPasteEnd = "01~"
)
type PasteMode int
const (
PastModeOff = iota
PasteModeStart
PasteModeEnd
)