This repository has been archived by the owner on Oct 22, 2021. It is now read-only.
Crash when changing to a tab where the terminal has been previously opened and then closed #873
Closed
3 of 10 tasks
Technical information
Using version:
master
(running from GitHub-published source code, currentlyv3.0.0-pre
)latest
(latest release, currentlyv2.2.2
)vX.X.X
(specify other version)Running on:
How comfortable you are with your system and/or IT in general:
Problem
Short description: Opening a terminal, then exiting it and re-opening it crashes eDEX-UI with error "eDEX-UI crashed" "Cannot resize a pty tha has already exited"
Reproduction:
Start eDEX-UI
Press CTRL+2 to open terminal 2
Type 'exit' to terminate powershell and return to the main shell
Press CTRL+2 to open terminal 2
Crash
My guess is that eDEX-UI doesn't un-flag a terminal as being open when it is closed. It appears to register that a terminal is closed because the tab title goes from "#2 -" to "EMPTY". Also before it crashes the title of the tab is changed to "::3002". When it then attempts to re-open the tab it thinks that there is a tty there, when there is not. In any case it is important to assert that there is a tty linked to the terminal before attempting to resize it, and if there is not a new terminal has to be attached to the tab.
Thank you for a very fun product.
The text was updated successfully, but these errors were encountered: