diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-08-03 17:06:29 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-08-03 17:06:29 +0000 |
| commit | 347cda14cfb08696c2193025afd209cb48372ec9 (patch) | |
| tree | d93b19fc3c71ddb2469670ea13637281a9d9fbaf /terminal.h | |
| parent | Merge branch 'tilde-expansion-in-include' (diff) | |
| parent | term: send SIGTERM/SIGKILL to the entire process group (diff) | |
Merge branch 'async-client-termination'
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -593,11 +593,15 @@ struct terminal { bool ime_enabled; #endif - bool is_shutting_down; - bool slave_has_been_reaped; - int exit_status; - void (*shutdown_cb)(void *data, int exit_code); - void *shutdown_data; + struct { + bool in_progress; + bool client_has_terminated; + int terminate_timeout_fd; + int exit_status; + + void (*cb)(void *data, int exit_code); + void *cb_data; + } shutdown; char *foot_exe; char *cwd; |
