term: add bracketed paste support
Allow forwarding paste events to embedded applications. When a bracketed paste is in progress, do not process any command bindings. Signed-off-by: Robin Jarry <robin@jarry.cc> Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
This commit is contained in:
parent
518f3e962c
commit
cf319129de
3 changed files with 24 additions and 0 deletions
lib/ui
|
@ -28,6 +28,7 @@ func Initialize(content DrawableInteractive) (*UI, error) {
|
|||
|
||||
screen.Clear()
|
||||
screen.HideCursor()
|
||||
screen.EnablePaste()
|
||||
|
||||
width, height := screen.Size()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue