]> git.mdlowis.com Git - projs/tide.git/commitdiff
execution of commands should leave the focus on whatever view recieves the output
authorMichael D. Lowis <mike.lowis@gentex.com>
Mon, 5 Dec 2016 20:06:17 +0000 (15:06 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Mon, 5 Dec 2016 20:06:17 +0000 (15:06 -0500)
xedit.c

diff --git a/xedit.c b/xedit.c
index fc1a516df6a47fed3c82c2b694b171ece03ae593..5869813deb4dc22c0933e6254074d85fd4fb0890 100644 (file)
--- a/xedit.c
+++ b/xedit.c
@@ -620,6 +620,7 @@ static void cmd_exec(char* cmd) {
     if (output) {
         view_putstr(getview(dest), output);
         view_selprev(getview(dest));
+        Focused = dest;
     }
     /* cleanup */
     free(input);