mirror of
https://github.com/xcat2/confluent.git
synced 2026-01-12 02:52:30 +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.