Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure we don't start a new session if we are switching. Update the terminalId (i.e. tty) Display property as we switch from the greeter to the actual session, as they might be on different terminals now. If we are reusing a session, also remember to switch to that session's tty. This way we do not switch to a random open session. It's common to have 2 at most but we better fix it properly than hope our users have a predictable workflow.
- Loading branch information
Showing
3 changed files
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters