diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-15 18:00:18 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-15 18:00:18 +0000 |
| commit | a089d6264d941876f4fc6292a28770dfd708007a (patch) | |
| tree | af784319f0f379271f99562568d125b536853460 /terminal.h | |
| parent | render: resize: don't reflow text if grid layout hasn't changed (diff) | |
| parent | render: reflow: set 'linebreak' flag before inserting new line (diff) | |
Merge branch 'text-reflow-fixes'
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,8 +42,7 @@ struct attributes { uint32_t have_fg:1; uint32_t have_bg:1; uint32_t selected:2; - uint32_t linefeed:1; - uint32_t reserved:2; + uint32_t reserved:3; uint32_t bg:24; }; static_assert(sizeof(struct attributes) == 8, "bad size"); @@ -84,6 +83,7 @@ struct damage { struct row { struct cell *cells; bool dirty; + bool linebreak; }; struct grid { |
