contour-terminal / contour

Modern C++ Terminal Emulator
http://contour-terminal.org/
Apache License 2.0
2.37k stars 102 forks source link

Improve session termination diagnostic #1327

Open christianparpart opened 9 months ago

christianparpart commented 9 months ago

When PTY gets closed, print close-reason (exit code / signal name)

The user should still be able to use shortcuts or vi-like normal mode when that happend. But a special input binding would then close the session (maybe defaulting to ESC?)

Action name for input bindings could be DestroySession as a generally applicable action to destroy sessions, which is particularily interesting for future work, where we want to support more than one session (tabs, splits)