From cf319129de36a2832674466e28bfa2dbb9bfc0cc Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Wed, 14 Sep 2022 21:36:42 +0200 Subject: 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 Signed-off-by: Tim Culverhouse --- lib/ui/ui.go | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/ui/ui.go') diff --git a/lib/ui/ui.go b/lib/ui/ui.go index a4128a5c..632d5f1d 100644 --- a/lib/ui/ui.go +++ b/lib/ui/ui.go @@ -28,6 +28,7 @@ func Initialize(content DrawableInteractive) (*UI, error) { screen.Clear() screen.HideCursor() + screen.EnablePaste() width, height := screen.Size() -- cgit