mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[GH-ISSUE #133] InputField paste-buffer is very short #103
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Lallassu on GitHub (Jun 13, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/133
When pasting text into a InputField it only takes the first 11 chars of the copy-buffer.
Tested in OSX.
@joegrasse commented on GitHub (Jun 13, 2018):
This is because of this issue.
@rivo commented on GitHub (Jun 13, 2018):
Was going to say the same. I'm closing this issue then.
@alvarolm commented on GitHub (Sep 26, 2018):
in case anyone needs it, i leave a poor man fix, assuming the cursor is always at the end of the input text:
@l0k18 commented on GitHub (Apr 28, 2019):
This bug is such a smelly one in the middle of a rose garden. The fix makes your app dependent on
xselbeing installed, on linux. I am forking tcell and tview because I need this working before halley's comet returns.https://github.com/rivo/tcell/commits/master the tcell tview uses now has been untouched in over a year, and this is literally one character change to fix, and said tcell library has no issues either.
It's a very very nice library and I'm forking it but who doesn't need to paste 16+ character long strings on a regular basis these days?
@rivo commented on GitHub (May 14, 2019):
@l0k1verloren The repo you quoted is not the one
tviewdepends on:github.com/rivo/tview@cf9d115173/application.go (L6)@gdamore still maintains
tcell. It's probably better to direct any (constructive) feedback to the relevant issue for this: gdamore/tcell#200.