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:
11
defines.h
11
defines.h
@@ -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
|
||||
|
Reference in New Issue
Block a user