implementation of copy_file and paste

This commit is contained in:
nova
2026-06-08 22:05:40 +02:00
parent 5a31f452ea
commit 9bdf677a56
4 changed files with 112 additions and 12 deletions
+3 -5
View File
@@ -59,9 +59,8 @@
#define FILE_TYPE_SYMLINK 64
#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
#define COPY_FILE (int*)0x0001
#define CUT_FILE (int*)0x0002
#define BTM_WINDOW_HEIGHT_ON_STR_INTERACTION 5
#define INPUT_BUFFER_SIZE 255
@@ -101,8 +100,7 @@ typedef struct Binding {
char* comment;
} binding;
typedef struct Yank {
char status;
char *path;
int *status; /*pointer to make blackmagic easier, should probably not deref lol*/
char **list;
unsigned long count;
} yank;