Implement parsing of OSC 8

Also start work on storing hyperlinks with cells
This commit is contained in:
Kovid Goyal
2020-09-10 10:47:24 +05:30
parent 0cc54484a4
commit e99d93ca30
8 changed files with 92 additions and 8 deletions
+2
View File
@@ -41,6 +41,7 @@ void log_error(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
typedef unsigned long long id_type;
typedef uint32_t char_type;
typedef uint32_t color_type;
typedef uint32_t hyperlink_id_type;
typedef uint16_t combining_type;
typedef uint32_t pixel;
typedef unsigned int index_type;
@@ -160,6 +161,7 @@ typedef struct {
typedef struct {
char_type ch;
combining_type cc_idx[2];
hyperlink_id_type hyperlink_id;
} CPUCell;