diff options
Diffstat (limited to 'src/libvterm/src/vterm_internal.h')
-rw-r--r-- | src/libvterm/src/vterm_internal.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libvterm/src/vterm_internal.h b/src/libvterm/src/vterm_internal.h index fd93a3416..2ef358ce9 100644 --- a/src/libvterm/src/vterm_internal.h +++ b/src/libvterm/src/vterm_internal.h @@ -37,7 +37,7 @@ typedef struct VTermEncoding VTermEncoding; typedef struct { VTermEncoding *enc; - /* This size should be increased if required by other stateful encodings */ + // This size should be increased if required by other stateful encodings char data[4*sizeof(uint32_t)]; } VTermEncodingInstance; @@ -105,9 +105,9 @@ struct VTermState /* Last glyph output, for Unicode recombining purposes */ uint32_t *combine_chars; - size_t combine_chars_size; /* Number of ELEMENTS in the above */ - int combine_width; /* The width of the glyph above */ - VTermPos combine_pos; /* Position before movement */ + size_t combine_chars_size; // Number of ELEMENTS in the above + int combine_width; // The width of the glyph above + VTermPos combine_pos; // Position before movement struct { unsigned int keypad:1; @@ -133,7 +133,7 @@ struct VTermState VTermColor default_fg; VTermColor default_bg; - VTermColor colors[16]; /* Store the 8 ANSI and the 8 ANSI high-brights only */ + VTermColor colors[16]; // Store the 8 ANSI and the 8 ANSI high-brights only int fg_index; int bg_index; @@ -183,7 +183,7 @@ struct VTerm ESC, /* below here are the "string states" */ STRING, - ESC_IN_STRING + ESC_IN_STRING, } state; int intermedlen; @@ -248,7 +248,7 @@ enum { C1_DCS = 0x90, C1_CSI = 0x9b, C1_ST = 0x9c, - C1_OSC = 0x9d + C1_OSC = 0x9d, }; void vterm_state_push_output_sprintf_CSI(VTermState *vts, const char *format, ...); |