aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-29 17:42:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-29 17:42:12 +0000
commitb3d0215c388c51a7e9838d16fe06023844af5c8b (patch)
treea9a2e0033ce38cc0b23d9306365ef81abc0ad584 /config.h
parentchangelog: 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 'config.h')
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 9de282a0..aaaa3591 100644
--- a/config.h
+++ b/config.h
@@ -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);