mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-22 19:20:27 +00:00
On exit, clear the terminal buffer and invalidate the session. This avoids the web ui being very attached to a closed, dead session, and leaking stale buffer to a reused sessionid. For confetty, treat starting a shell session more like starting a console session. If an attempt to resize a dead session is attempted, ignore failures.