1
0
mirror of https://gittea.dev/nova/th.git synced 2025-10-22 02:40:15 -04:00

added file extension commands

This commit is contained in:
nova
2025-07-18 23:01:49 +02:00
parent d9ae5c79af
commit 6daeaebb5a
3 changed files with 39 additions and 5 deletions

View File

@@ -71,6 +71,10 @@ typedef struct Mimetype {
char *mimetype;
char *command;
} mimetype;
typedef struct Extension {
char *file_extension;
char *command;
} extension;
typedef struct Binding {
char* key;
void (*func)();