Gracefully end session for TUI
SrRyan opened this issue · 0 comments
SrRyan commented
If your session ends while your away or not looking, your terminal session becomes stuck and you can't leave the TUI. It would be best if it would gracefully exit the TUI before ending the session if it's expired so that the user isn't stuck.
Related code block
snips.sh/internal/ssh/handler.go
Lines 98 to 101 in 6dc8f63
Reproduce:
- Open new session
- wait till max time till session expires
- attempt to do a command or navigate tui