Skip to content

Commit

Permalink
feat(ansi): add bracketed paste sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Nov 10, 2024
1 parent 8699bb3 commit a30b032
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansi/paste.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package ansi

// BracketedPasteStart is the control sequence to enable bracketed paste mode.
const BracketedPasteStart = "\x1b[200~"

// BracketedPasteEnd is the control sequence to disable bracketed paste mode.
const BracketedPasteEnd = "\x1b[201~"

0 comments on commit a30b032

Please sign in to comment.