Explorar el Código

feat: enable bracketed paste (EnablePaste) (#616)

xqrs hace 5 meses
padre
commit
924658f0c7
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      cmd/application.go

+ 2 - 1
cmd/application.go

@@ -44,7 +44,8 @@ func newApplication(cfg *config.Config) *application {
 	app.pages.SetInputCapture(app.onPagesInputCapture)
 	app.
 		EnableMouse(cfg.Mouse).
-		SetInputCapture(app.onInputCapture)
+		SetInputCapture(app.onInputCapture).
+		EnablePaste(true)
 	return app
 }