From: Michael D. Lowis Date: Thu, 12 Jan 2017 15:39:43 +0000 (-0500) Subject: > dumps output to the tags buffer so the output should be chomped to ensure we dont... X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=15888cbc90562b969111947946d7e8bd66945d82;p=projs%2Ftide.git > dumps output to the tags buffer so the output should be chomped to ensure we dont wast screen space with a blank line --- 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 */