multi: completely remove fx.term dependency when interactive support is disabled
This commit is contained in:
@@ -5,9 +5,15 @@
|
||||
|
||||
static void format_value_fallback(const fx_value *value, fx_stream *dest)
|
||||
{
|
||||
#if BSHELL_INTERACTIVE == 1
|
||||
fx_printf("[yellow]");
|
||||
#endif
|
||||
|
||||
fx_value_to_string(value, dest, NULL);
|
||||
|
||||
#if BSHELL_INTERACTIVE == 1
|
||||
fx_printf("[reset]\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
enum bshell_status format_value_default(const fx_value *value, fx_stream *dest)
|
||||
|
||||
Reference in New Issue
Block a user