mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #545] Mouse binding is not working after resuming back from Application.Suspend() #397
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#397
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 @ajaxray on GitHub (Jan 8, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/545
Hello folks,
Need your kind help for geek-life, a CLI To-Do List Manager.
I am trying to edit some content (task detail) using external editor.
So, I am doing this:
Application.Suspend()for opening the temporary file in vim (or$EDITORfrom env)You may check actual code here.
It's working as expected and the new content is being saved.
But the problem is, Mouse bindings are no more working after resuming application.
Even calling
app.EnableMouse(true)manually after Suspend is not working. :(Any support/clue is very much appreciated. Thanks!
@rivo commented on GitHub (Jan 11, 2021):
Thanks for noticing this. The
tcell.Screenobject is replaced after theSuspend()function returns but I forgot to enable the mouse on that new object. This should be fixed now.@ajaxray commented on GitHub (Jan 15, 2021):
@rivo Thanks a lot!
The issue is now fixed after updating.