diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-06 11:01:57 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-13 10:04:29 +0000 |
| commit | d29c3cf7b76c6a1935684124b4d7cad69de94c78 (patch) | |
| tree | 507c0c3aca15c7539972da49d93471d6c20452d2 /terminal.h | |
| parent | config: add value_to_str() (diff) | |
config: add {str,value}_to_uint{16,32}()
This allows us to pass the final pointer directly to the conversion
functions, as well as allowing us to print outside-range errors.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -526,7 +526,7 @@ struct terminal { int timer_fd; } title; - int scrollback_lines; /* Number of scrollback lines, from conf (TODO: move out from render struct?) */ + uint32_t scrollback_lines; /* Number of scrollback lines, from conf (TODO: move out from render struct?) */ struct { bool enabled; @@ -535,7 +535,7 @@ struct terminal { /* Render threads + synchronization primitives */ struct { - size_t count; + uint16_t count; sem_t start; sem_t done; mtx_t lock; |
