aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-13 10:04:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-11-13 10:04:54 +0000
commite026ef22f4315a029ddf77296718568ef05f0248 (patch)
tree998bbdddb64729a37bae52c2c02e890138122898 /terminal.h
parentmain: improve handling of setlocale(3) return value (diff)
parentchangelog: boolean options (diff)
Merge branch 'config-refactor'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index 8c847cfd..10be6ae3 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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;