diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-06-18 13:56:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-06-18 13:56:06 +0000 |
| commit | fa06cf31ffe8630d30cd608e3935d15021052383 (patch) | |
| tree | 2b7394077cb512d1de0e2fe7fd07752a7ca3f639 /terminal.h | |
| parent | Merge branch 'reduce-tllist-usage' (diff) | |
| parent | render: don’t create/destroy the title update timer each time (diff) | |
Merge branch 'title-update'
Closes #591
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -474,7 +474,6 @@ struct terminal { bool grid; bool csd; bool search; - bool title; bool urls; } refresh; @@ -483,13 +482,18 @@ struct terminal { bool grid; bool csd; bool search; - bool title; bool urls; } pending; bool margins; /* Someone explicitly requested a refresh of the margins */ bool urgency; /* Signal 'urgency' (paint borders red) */ + struct { + struct timeval last_update; + bool is_armed; + int timer_fd; + } title; + int scrollback_lines; /* Number of scrollback lines, from conf (TODO: move out from render struct?) */ struct { |
