From 9c7032137836d828ef96b97b1894ee9a9017d9ab Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Mon, 5 Dec 2016 15:06:17 -0500 Subject: [PATCH] execution of commands should leave the focus on whatever view recieves the output --- xedit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xedit.c b/xedit.c index fc1a516..5869813 100644 --- 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); -- 2.49.0