implementation of copy_file and paste
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user