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

added copy/paste function

This commit is contained in:
nova
2025-08-16 21:02:13 +02:00
parent 37d82bebf8
commit 9ea82511e6
4 changed files with 90 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
#define STATUS_UPDATE_SCREEN_RESIZE 16
#define STATUS_UPDATE_SCREEN_RELOAD_FULL 32
#define STATUS_USER_ROOT 64
#define STATUS_INPUT_MATCH 128
#define SETTINGS_HAS_COLOR 1
@@ -51,6 +52,10 @@
#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 */
#define YANK_IS_USED 1
#define YANK_CUT 2
#define YANK_COPY 4
#ifndef STRUCT_GUARD
#define STRUCT_GUARD
/* complex types are good actually */
@@ -80,6 +85,12 @@ typedef struct Binding {
void* black_magic;
char* comment;
} binding;
typedef struct Yank {
char status;
char *path;
char **list;
unsigned long count;
} yank;
#endif