tb Print colorful shell prompt and logged cmds, print terminal W/H

This commit is contained in:
2025-11-15 00:58:40 +01:00
parent 7da422fdb6
commit af27592957
2 changed files with 6 additions and 2 deletions

View File

@ -195,7 +195,7 @@ bool interp_runstring(char *string, InterpResult **res, bool interactive) {
char *line = string_tokenizealloc_linecontinue(string, "\n");
while (line != NULL) {
if (CONFIG.logcmds) {
uprintf("+%s\n", line);
uprintf("+"ANSIQ_SETFG_YELLOW"%s"ANSIQ_GR_RESET"\n", line);
}
bool skip;