diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-09-14 21:36:42 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-09-14 22:19:42 +0200 |
commit | cf319129de36a2832674466e28bfa2dbb9bfc0cc (patch) | |
tree | ce3ef2274135c6b62e5432eb2d541f6005fc02d0 /lib/ui/ui.go | |
parent | 518f3e962ce39fb9712bb693857789ab22adfe9c (diff) | |
download | aerc-cf319129de36a2832674466e28bfa2dbb9bfc0cc.tar.gz |
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>
Diffstat (limited to 'lib/ui/ui.go')
-rw-r--r-- | lib/ui/ui.go | 1 |
1 files changed, 1 insertions, 0 deletions
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() |