contour-terminal / contour

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

Allow auto-restart of sessions with bad exit code #1326

Open christianparpart opened 9 months ago

christianparpart commented 9 months ago

Allow auto-restarting sessions (local process session as well as builtin SSH sessions) when the session did exit with bad exit code or did terminate by signal (e.g. SIGSEGV, SIGHUP, etc...)

By default it maybe should not do it. Should be configurable per profile.

profiles:
    name:
        auto_restart_on_bad_exit: true # default false

I'm not good at naming, but this would at least be an intuitive option.