multi: completely remove fx.term dependency when interactive support is disabled

This commit is contained in:
2026-05-30 21:08:39 +01:00
parent ca33228e0e
commit 338c0356ca
9 changed files with 223 additions and 119 deletions
+11 -6
View File
@@ -116,12 +116,17 @@ static enum bshell_status resolve_call_target(
}
const char *cmd_name_cstr = fx_string_get_cstr(cmd_name_s);
fx_printf(
"[bold,bright_red]%s: The term '%s' is not recognised as a "
"name of a cmdlet, "
"function, script file, or executable program.[reset]\n",
cmd_name_cstr,
cmd_name_cstr);
#if BSHELL_INTERACTIVE == 1
fx_printf("[bold,bright_red]");
#endif
printf("%s: The term '%s' is not recognised as a name of a cmdlet, "
"function, script file, or executable program.\n",
cmd_name_cstr,
cmd_name_cstr);
#if BSHELL_INTERACTIVE == 1
fx_printf("[reset]");
#endif
printf("\n");
return BSHELL_ERR_NO_ENTRY;
}