diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2016-06-19 23:36:39 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2016-06-20 23:31:05 -0700 |
commit | bf4937bc910db2944dc50edd67bbd545e76821e2 (patch) | |
tree | c865a9d8e218b42945ec4672d106eb45b67971e7 /src/tty_interface.h | |
parent | 2c802e23845a5320cfcfcec13d229c9b938698a8 (diff) |
Return exit code from run
Diffstat (limited to 'src/tty_interface.h')
-rw-r--r-- | src/tty_interface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tty_interface.h b/src/tty_interface.h index 4122271..d6b05de 100644 --- a/src/tty_interface.h +++ b/src/tty_interface.h @@ -13,9 +13,11 @@ typedef struct { options_t *options; char search[SEARCH_SIZE_MAX + 1]; + + int exit; } tty_interface_t; void tty_interface_init(tty_interface_t *state, tty_t *tty, choices_t *choices, options_t *options); -void tty_interface_run(tty_interface_t *state); +int tty_interface_run(tty_interface_t *state); #endif |