aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-03 18:58:32 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-03 18:58:32 +0000
commit8f4ec9aa479c5414661a7507543e6a59e4e1f6da (patch)
treea21b12280d7df2797f475db28e23c331bbaeb25a /terminal.h
parentfcft: update to 1.1.0 (diff)
Implement --hold
When specified, we don't exit when the slave/client process exits.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index b9db2bfe..cf691f5e 100644
--- a/terminal.h
+++ b/terminal.h
@@ -340,6 +340,7 @@ struct terminal {
int upper_fd;
} delayed_render_timer;
+ bool hold_at_exit;
bool is_shutting_down;
void (*shutdown_cb)(void *data, int exit_code);
void *shutdown_data;