diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-01 18:24:46 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-01 18:24:46 +0000 |
| commit | f13adf50dcbbf94da32c271fe38253113ba61d41 (patch) | |
| tree | 001c3b18c9604abd66bd69d11d900c53d9c8d167 /terminal.h | |
| parent | dcs: fix comment: ESU is *End* synchronized update (diff) | |
vt: use 8-bit indices for parameters and sub parameters
We only support 16 (sub) parameters and thus there's no need for
64-bit index variables.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -100,7 +100,7 @@ struct grid { struct vt_subparams { unsigned value[16]; - size_t idx; + uint8_t idx; }; struct vt_param { @@ -113,7 +113,7 @@ struct vt { wchar_t last_printed; struct { struct vt_param v[16]; - size_t idx; + uint8_t idx; } params; char private[2]; struct { @@ -123,8 +123,8 @@ struct vt { } osc; struct { uint8_t data[4]; - size_t idx; - size_t left; + uint8_t idx; + uint8_t left; } utf8; struct { uint8_t *data; |
