diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-04-26 10:47:19 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-04-26 10:47:19 +0000 |
| commit | e9ed3025a8f891effdb03dc82dfd8dfc068b11e9 (patch) | |
| tree | b1e0f024963b48fbb58be46f773f8c3733885ec5 /terminal.h | |
| parent | render: make 'glyph' assignment more readable (diff) | |
damage: remove 'scroll' sub struct
There is no other types of damage but scroll damage.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -73,11 +73,8 @@ enum damage_type {DAMAGE_SCROLL, DAMAGE_SCROLL_REVERSE, struct damage { enum damage_type type; - /* DAMAGE_SCROLL, DAMAGE_SCROLL_REVERSE */ - struct { - struct scroll_region region; - int lines; - } scroll; + struct scroll_region region; + int lines; }; struct row { |
