bshell.runtime: disable all fx.term includes when interactive mode is disabled

This commit is contained in:
2026-05-31 17:31:37 +01:00
parent ee6fdfbc48
commit 73ff8ba6aa
3 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -1,8 +1,11 @@
#include <bshell/format.h>
#include <fx/term/print.h>
#include <fx/type.h>
#include <fx/value-type.h>
#if BSHELL_INTERACTIVE == 1
#include <fx/term/print.h>
#endif
static void format_value_fallback(const fx_value *value, fx_stream *dest)
{
#if BSHELL_INTERACTIVE == 1