Start work on bytes based VT parser

This commit is contained in:
Kovid Goyal
2023-10-29 08:47:15 +05:30
parent ce2e1b0813
commit b083ad9038
8 changed files with 470 additions and 2 deletions

View File

@@ -344,7 +344,6 @@ typedef struct {int x;} *SPRITE_MAP_HANDLE;
#define FONTS_DATA_HEAD SPRITE_MAP_HANDLE sprite_map; double logical_dpi_x, logical_dpi_y, font_sz_in_pts; unsigned int cell_width, cell_height;
typedef struct {FONTS_DATA_HEAD} *FONTS_DATA_HANDLE;
#define PARSER_BUF_SZ (8 * 1024)
#define READ_BUF_SZ (1024*1024)
#define clear_sprite_position(cell) (cell).sprite_x = 0; (cell).sprite_y = 0; (cell).sprite_z = 0;