aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-26 10:47:19 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-26 10:47:19 +0000
commite9ed3025a8f891effdb03dc82dfd8dfc068b11e9 (patch)
treeb1e0f024963b48fbb58be46f773f8c3733885ec5 /terminal.h
parentrender: 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.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/terminal.h b/terminal.h
index dbca5290..7653daa3 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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 {