mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
Allow specifying the offset and size for reading data from files
Also require size to be specified for SHM objects to support platforms such as macOS that have no way to get the size from the fd.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
typedef struct {
|
||||
unsigned char action, transmission_type, compressed;
|
||||
uint32_t format, more, id, data_sz;
|
||||
uint32_t format, more, id, data_sz, data_offset;
|
||||
uint32_t width, height, x_offset, y_offset, data_height, data_width, num_cells, num_lines;
|
||||
int32_t z_index;
|
||||
size_t payload_sz;
|
||||
|
||||
Reference in New Issue
Block a user