Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow pasting when using views/app.go #552

Closed
chrBrd opened this issue Sep 6, 2022 · 0 comments · Fixed by #556
Closed

Allow pasting when using views/app.go #552

chrBrd opened this issue Sep 6, 2022 · 0 comments · Fixed by #556

Comments

@chrBrd
Copy link
Contributor

chrBrd commented Sep 6, 2022

At present it doesn't seem possible to handle pasting events when using the Application view. The Screen passed to the SetScreen() method should, as far as I can tell, be uninitialised, but calling the EnablePaste() method on an uninitialised screen will segfault when TPuts() is called due to t.tty being nil.

As the Application view is effectively a very handy convenience wrapper then being able to support pasting while using it would be appreciated.

chrBrd added a commit to chrBrd/tcell that referenced this issue Sep 9, 2022
chrBrd added a commit to chrBrd/tcell that referenced this issue Sep 21, 2022
Pasting is not supported when using the `Application` view. This commit enables pasting support on an opt-in basis.

Fixes gdamore#552
gdamore pushed a commit that referenced this issue Oct 17, 2022
Pasting is not supported when using the `Application` view. This commit enables pasting support on an opt-in basis.

Fixes #552
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants