From 8f42aeaf94402a9b1c2fded50c4621930f1da099 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Thu, 12 Jan 2017 09:52:12 -0500 Subject: [PATCH] the > sigil should append the output to the tags buffer --- xedit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xedit.c b/xedit.c index a794466..974e3f9 100644 --- a/xedit.c +++ b/xedit.c @@ -725,10 +725,12 @@ static void cmd_exec(char* cmd) { if (op != '<') dest = Focused; output = cmdread(ShellCmd, &error); } + if (error) view_append(getview(TAGS), chomp(error)); + if (output) { - view_putstr(getview(dest), output); + (op == '>' ? view_append : view_putstr)(getview(dest), output); Focused = dest; } /* cleanup */ -- 2.54.0