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

Text reverted with copy/paste to textfield #1011

Open
abennani82 opened this issue Jul 24, 2024 · 1 comment
Open

Text reverted with copy/paste to textfield #1011

abennani82 opened this issue Jul 24, 2024 · 1 comment

Comments

@abennani82
Copy link

Hi,
When we copy/paste text from clipboard to a tview textfield, it is not pasted correctly.
Example, copying ABennani from clipboard can paste naniBAen but never ABennani:

2024-07-24_17-50

Is there any configuration to fix that?

Regards

@rivo
Copy link
Owner

rivo commented Jul 24, 2024

This seems to be an issue with the terminal rather than with tview. I just tried this on macOS with iTerm2 and the Form demo:

image

No issues there. Same result with EnablePaste on or off. Is it turned on for you?

https://pkg.go.dev/github.com/rivo/tview#Application.EnablePaste

What terminal are you using? Have you tried it with a different terminal? If so, are you seeing the same issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants