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:
Daniel Eklöf 2020-07-29 19:42:12 +02:00
parent 906c8f4d16
commit b3d0215c38
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 51 additions and 5 deletions

View file

@ -119,6 +119,8 @@ struct config {
uint64_t delayed_render_upper_ns;
off_t max_shm_pool_size;
} tweak;
user_warning_list_t warnings;
};
bool config_load(struct config *conf, const char *path);