Windows paste is truncated #32
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/cview#32
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
This was confirmed to be a cview issue, as the same behaviour was exhibited in the simple form demo. Please see this downstream issue for more details and updates.
tcell issue: https://github.com/gdamore/tcell/issues/319
A workaround has been found: https://github.com/rivo/tview/issues/92#issuecomment-670208053
This should be fixed in tcell. Please thumbs-up the issue there to draw more attention.
Thank you for finding those links. Is it possible that workaround can be applied in cview?
I've added the needed function
GetCursorPosition
so adding the workaround to your application will not require reflection at least. I will look into adding this workaround to cview with an option to disable it if necessary.Thanks! Let me know when that's available.
Since you've added
GetCursorPosition
, could you help me understand what the workaround function would look like now?tcell has just fixed this upstream. I hope to release a new version of cview using tcell/v2 soon.
With the added function, you may use it instead of reflection (
cursorPos :=
).Well, that was easy. There was only minor breakage in tcell/v2.
Are you sure? Glad to see it was easy to upgrade, but I'm wary to, as my understanding is that tcell v2 is not stable. Is there anywhere I can read about the differences?
See gdamore's comment:
Within cview at least, the changes were entirely around Style colors and attributes. Attributes must be set using
cview.SetAttributes
and tcell colors are no longer TrueColor by default (you must call.TrueColor
on them).