698 B
698 B
exit_behavior = "CloseOnCleanExit"
Since: nightly builds only
Controls the behavior when the shell program spawned by the terminal exits. There are three possible values:
"Close"- close the corresponding pane as soon as the program exits."Hold"- keep the pane open after the program exits. The pane must be manually closed via CloseCurrentPane, CloseCurrentTab or closing the window."CloseOnCleanExit"- if the shell program exited with a successful status, behave like"Close", otherwise, behave like"Hold". This is the default setting.
return {
exit_behavior = "Hold",
}