implemented open_with

This commit is contained in:
nova
2025-06-21 23:48:56 +02:00
parent f99035629a
commit e07ec0b413
5 changed files with 73 additions and 19 deletions

View File

@ -7,6 +7,7 @@
#define STATUS_UPDATE_SCREEN_RESIZE 16
#define STATUS_UPDATE_SCREEN_RELOAD_FULL 32
#define STATUS_USER_ROOT 64
#define STATUS_OPEN_WITH 128
#define SETTINGS_HAS_COLOR 1
@ -49,7 +50,6 @@
#define FILE_TYPE_ORPHAN COLOR_ORPHAN
#define FILE_TYPE_OPEN_FILE 128 /* this is only used in rgt_content to print a file preview, not the dir */
#ifndef STRUCT_GUARD
#define STRUCT_GUARD
/* complex types are good actually */
@ -70,7 +70,7 @@ typedef struct Mimetype {
char *command;
} mimetype;
typedef struct Binding {
char key;
char* key;
void (*func)();
} binding;