From 88d11e43ac0a79d092c63b1dedf3ca7727733cab Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 6 Aug 2021 06:00:14 +1000 Subject: Move "Closing all the panes." to the corerct place. --- src/sledjchisl/sledjchisl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 91eb6e8..d2be221 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -8219,7 +8219,6 @@ fcgiDone: } else if ((STOP == currentMode) && (NULL == target)) { - I("Closing all the panes."); memset((void*)&obj0, 0, sizeof(obj0)); ourSims->simsLua->lock(ourSims->simsLua); while(ourSims->simsLua->getnext(ourSims->simsLua, &obj0, false) == true) @@ -8282,6 +8281,7 @@ fcgiDone: ourSims->simsLua->unlock(ourSims->simsLua); // Kill the rest of the panes that are not on the original window. + I("Closing all the panes."); snprintf(toybuf, sizeof(toybuf), "echo 'IDs={' >%s/IDs_ALL.lua", scTemp); system(toybuf); doTmuxCmd("list-panes -s -F '\"#{window_id}.#{pane_id}\",' >> %s/IDs_ALL.lua", scTemp); -- cgit v1.1