mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-27 01:40:16 -05:00
terminal: call user-defined callback when destroying terminal
main uses this to get the exit code of the terminal.
This commit is contained in:
parent
70b236d66d
commit
1e41a25f00
4 changed files with 38 additions and 13 deletions
|
|
@ -150,7 +150,6 @@ struct wayland {
|
|||
tll(struct terminal *) terms;
|
||||
struct terminal *focused;
|
||||
struct terminal *moused;
|
||||
int last_exit_value; /* TODO: exit value from client(s)? */
|
||||
};
|
||||
|
||||
struct wayland *wayl_init(struct fdm *fdm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue