URI:
       Redraw after spawned command terminates - noice - small file browser (mirror / fork from 2f30.org)
  HTML git clone git://git.codemadness.org/noice
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 3e64b1b92e637d2b7ed80eb93475fffdc2ea3537
   DIR parent 7e8495803964d3acc920cc79a03089db78278290
  HTML Author: sin <sin@2f30.org>
       Date:   Sat, 19 Jan 2019 18:12:31 +0000
       
       Redraw after spawned command terminates
       
       Diffstat:
         M noice.c                             |      10 ++++++++--
       
       1 file changed, 8 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/noice.c b/noice.c
       @@ -838,17 +838,23 @@ nochange:
                                        mkpath(path, dents[cur].name, oldpath, sizeof(oldpath));
                                goto begin;
                        case SEL_RUN:
       +                        /* Save current */
       +                        if (ndents > 0)
       +                                mkpath(path, dents[cur].name, oldpath, sizeof(oldpath));
                                run = xgetenv(env, run);
                                exitcurses();
                                spawn(run, NULL, path);
                                initcurses();
       -                        break;
       +                        goto begin;
                        case SEL_RUNARG:
       +                        /* Save current */
       +                        if (ndents > 0)
       +                                mkpath(path, dents[cur].name, oldpath, sizeof(oldpath));
                                run = xgetenv(env, run);
                                exitcurses();
                                spawn(run, dents[cur].name, path);
                                initcurses();
       -                        break;
       +                        goto begin;
                        }
                        /* Screensaver */
                        if (idletimeout != 0 && idle == idletimeout) {