terminal: notify when terminal has quit #189
Labels
bug
Something isn't working
good first issue
Good for newcomers
host
Deals with host side code
moderate
Moderate difficulty to accomplish
Right now, if a process running in a terminal quits, the guest has no way of knowing about it. We have a few ways of fixing this:
TerminalUpdate
variant that polls the terminal for whether it's quit or not. Downside is that we have to continuously poll from whatever owns the terminal, which is ugly and inefficient.TerminalUpdate
that subscribes a capability to a message that lets it know when that terminal has quit. Downsides are that it's clunky to implement in the API. We also need to find a way to use the state of aTerminalInstance
even though it's being ran as aSinkProcess
.TerminalInstance
. We can use down signals to notify processes when the terminal has exited. Downside is that the terminal immediately disappears once it's been killed.The text was updated successfully, but these errors were encountered: