From 15888cbc90562b969111947946d7e8bd66945d82 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Thu, 12 Jan 2017 10:39:43 -0500 Subject: [PATCH] > dumps output to the tags buffer so the output should be chomped to ensure we dont wast screen space with a blank line --- xedit.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xedit.c b/xedit.c index 974e3f9..7e2e794 100644 --- a/xedit.c +++ b/xedit.c @@ -730,7 +730,10 @@ static void cmd_exec(char* cmd) { view_append(getview(TAGS), chomp(error)); if (output) { - (op == '>' ? view_append : view_putstr)(getview(dest), output); + if (op == '>') + view_append(getview(dest), chomp(output)); + else + view_putstr(getview(dest), output); Focused = dest; } /* cleanup */ -- 2.52.0