mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
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.
This commit is contained in:
parent
906c8f4d16
commit
b3d0215c38
6 changed files with 51 additions and 5 deletions
5
slave.h
5
slave.h
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue