mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
Start work on DnD protocol
This commit is contained in:
@@ -14,6 +14,12 @@
|
||||
|
||||
typedef enum ScrollTypes { SCROLL_LINE = -999999, SCROLL_PAGE, SCROLL_FULL } ScrollType;
|
||||
|
||||
typedef struct DnDCommand {
|
||||
char type;
|
||||
unsigned more;
|
||||
size_t payload_sz;
|
||||
} DnDCommand;
|
||||
|
||||
typedef struct {
|
||||
bool mLNM, mIRM, mDECTCEM, mDECSCNM, mDECOM, mDECAWM, mDECCOLM, mDECARM, mDECCKM, mCOLOR_PREFERENCE_NOTIFICATION,
|
||||
mBRACKETED_PASTE, mFOCUS_TRACKING, mDECSACE, mHANDLE_TERMIOS_SIGNALS, mINBAND_RESIZE_NOTIFICATION,
|
||||
@@ -290,6 +296,7 @@ void set_active_hyperlink(Screen*, char*, char*);
|
||||
hyperlink_id_type screen_mark_hyperlink(Screen*, index_type, index_type);
|
||||
void screen_handle_graphics_command(Screen *self, const GraphicsCommand *cmd, const uint8_t *payload);
|
||||
void screen_handle_multicell_command(Screen *self, const MultiCellCommand *cmd, const uint8_t *payload);
|
||||
void screen_handle_dnd_command(Screen *self, const DnDCommand *cmd, const uint8_t *payload);
|
||||
bool screen_open_url(Screen*);
|
||||
bool screen_set_last_visited_prompt(Screen*, index_type);
|
||||
bool screen_select_cmd_output(Screen*, index_type);
|
||||
|
||||
Reference in New Issue
Block a user