diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-23 15:16:52 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-06-23 15:16:52 +0000 |
| commit | fbf0db621cb29804e67af850c1646c3185464dcb (patch) | |
| tree | 22206e5e80e7ef7a04ca19ec827bc5cbaa61e2e7 /terminal.h | |
| parent | resize: bug: we're not in alt screen mode at startup (diff) | |
vt: implement reverse scrolling (terminfo 'ri')
This currently duplicates the code paths for DAMAGE_SCROLL; there are
many similarities between the two, but also major differences...
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,7 +28,7 @@ struct cell { struct attributes attrs; }; -enum damage_type {DAMAGE_UPDATE, DAMAGE_ERASE, DAMAGE_SCROLL}; +enum damage_type {DAMAGE_UPDATE, DAMAGE_ERASE, DAMAGE_SCROLL, DAMAGE_SCROLL_REVERSE}; struct damage { enum damage_type type; union { @@ -38,7 +38,7 @@ struct damage { int length; } range; - /* DAMAGE_SCROLL */ + /* DAMAGE_SCROLL, DAMAGE_SCROLL_REVERSE */ struct { int top_margin; int bottom_margin; |
