From: Michael D. Lowis Date: Mon, 5 Dec 2016 20:06:17 +0000 (-0500) Subject: execution of commands should leave the focus on whatever view recieves the output X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=9c7032137836d828ef96b97b1894ee9a9017d9ab;p=projs%2Ftide.git execution of commands should leave the focus on whatever view recieves the output --- 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);