diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-29 17:42:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-29 17:42:12 +0000 |
| commit | b3d0215c388c51a7e9838d16fe06023844af5c8b (patch) | |
| tree | a9a2e0033ce38cc0b23d9306365ef81abc0ad584 /slave.h | |
| parent | changelog: update scrollback indicator entry to reflect moved options (diff) | |
term: add capability to print warnings *inside* the terminal
This is intended to be used to print e.g. deprecation warnings inside
the terminal, *before* the shell is started.
Diffstat (limited to 'slave.h')
| -rw-r--r-- | slave.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3,6 +3,9 @@ #include <sys/types.h> +#include "terminal.h" + pid_t slave_spawn( int ptmx, int argc, const char *cwd, char *const *argv, const char *term_env, - const char *conf_shell, bool login_shell); + const char *conf_shell, bool login_shell, + const user_warning_list_t *warnings); |
