Fix toggle executable not refreshing

This commit is contained in:
Night Kaly 2024-11-17 14:53:45 +00:00
parent 65c06ff53f
commit 472e3d2707
Signed by: night0721
SSH key fingerprint: SHA256:B/hgVwUoBpx5vdNsXl9w8XwZljA9766uk6T4ubZp5HM

6
ccc.c
View file

@ -35,9 +35,11 @@ enum keys {
PAGE_UP,
PAGE_DOWN,
};
typedef struct {
int key;
} key;
#define PATH_MAX 4096 /* Max length of path */
#include "config.h"
@ -366,6 +368,10 @@ int main(int argc, char **argv)
case 'X':
toggle_executable();
change_dir(cwd, 0, 0);
break;
case '!':
break;
/* mark one file */