mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #624] Suspending and coming back to previous screen #459
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#459
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 @ankitpokhrel on GitHub (Jun 28, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/624
Suspending and coming back to previous screen seems broken since recent update.
Given a simple program that launches vim and goes back to previous screen after exit.
The code above worked as expected before but panics since
36f5c190ea.The cause of the issue can be traced back to this particular change where we are stopping the app
app.Stopwhen handlingtcell.EventErrorin an event loop.github.com/rivo/tview@29d673af0c/application.go (L373-L375)Is there anything I am missing?
@darkhz commented on GitHub (Aug 5, 2021):
It's broken for me too. Panics with:
panic: read /dev/tty: i/o timeout@rivo commented on GitHub (Aug 22, 2021):
This appears to be a problem with
tcell. I opened an issue there: gdamore/tcell/issues/480@rivo commented on GitHub (Sep 4, 2021):
@ankitpokhrel & @darkhz Can you please try this with the latest
tcellcommit and let me know if it works for you?@darkhz commented on GitHub (Sep 4, 2021):
@rivo Yes, it works well with the commit in the fix480 branch. Thank you very much.
@ankitpokhrel commented on GitHub (Sep 4, 2021):
@rivo works fine for me too with latest
tcellcommit. Thank you!