commit 2670441616d6d738a2e7c2229f9d8bb6bf7b1d34 parent aeb517b7b3d04ddbd8c3bcc6d7cfebd2b710eb00 Author: Ed van Bruggen <edvb@uw.edu> Date: Mon, 24 Dec 2018 00:30:56 -0800 Only print newline if there is output Diffstat:
main.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/main.c b/main.c @@ -76,7 +76,8 @@ main(int argc, char *argv[]) continue; tisp_print(stdout, v); - putchar('\n'); + if (v->t != NONE) + putchar('\n'); if (!str.d) continue; skip_ws(&str);