Fix toggle executable not refreshing
This commit is contained in:
parent
65c06ff53f
commit
472e3d2707
1 changed files with 6 additions and 0 deletions
6
ccc.c
6
ccc.c
|
@ -35,9 +35,11 @@ enum keys {
|
||||||
PAGE_UP,
|
PAGE_UP,
|
||||||
PAGE_DOWN,
|
PAGE_DOWN,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int key;
|
int key;
|
||||||
} key;
|
} key;
|
||||||
|
|
||||||
#define PATH_MAX 4096 /* Max length of path */
|
#define PATH_MAX 4096 /* Max length of path */
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
@ -366,6 +368,10 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
case 'X':
|
case 'X':
|
||||||
toggle_executable();
|
toggle_executable();
|
||||||
|
change_dir(cwd, 0, 0);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case '!':
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* mark one file */
|
/* mark one file */
|
||||||
|
|
Loading…
Reference in a new issue