multi: completely remove fx.term dependency when interactive support is disabled
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user