diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-23 19:12:32 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-06-23 19:12:32 +0000 |
| commit | 2fe7145aff1cf710fc00519a0f72199c3fa0a929 (patch) | |
| tree | 02c6de8abe717252630ddb4b8c4f580380af6ba8 /terminal.h | |
| parent | csi: recognize, but do nothing, for civis, cvvis (diff) | |
scrolling region: wip
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -28,7 +28,9 @@ struct cell { struct attributes attrs; }; -enum damage_type {DAMAGE_UPDATE, DAMAGE_ERASE, DAMAGE_SCROLL, DAMAGE_SCROLL_REVERSE}; +enum damage_type {DAMAGE_UPDATE, DAMAGE_UPDATE_NO_SCROLL, + DAMAGE_ERASE, DAMAGE_ERASE_NO_SCROLL, + DAMAGE_SCROLL, DAMAGE_SCROLL_REVERSE}; struct damage { enum damage_type type; union { @@ -40,6 +42,7 @@ struct damage { /* DAMAGE_SCROLL, DAMAGE_SCROLL_REVERSE */ struct { + int offset; int lines; } scroll; }; |
