Skip to content

Commit cc1cf44

Browse files
committed
GH-96 Add leading space to prompt.
1 parent c2a6924 commit cc1cf44

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/post4.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,11 @@ _forth: exec[0].xt = x.nt;
15051505
}
15061506
}
15071507
if (P4_INTERACTIVE(ctx)) {
1508-
(void) printf(ANSI_CYAN"ok "ANSI_NORMAL);
1508+
/* GH-96 Add leading space to prompt. While colour
1509+
* helps visually, terminal copy/paste does not have
1510+
* colour.
1511+
*/
1512+
(void) printf(ANSI_CYAN" ok "ANSI_NORMAL);
15091513
(void) fflush(stdout);
15101514
}
15111515
} while (p4Refill(ctx->input));

0 commit comments

Comments
 (0)