diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-11 18:39:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-11 18:39:23 +0000 |
| commit | 335bf2e5b4cda58e56860d3cc3ad23e215c80a78 (patch) | |
| tree | 93cffbfa13cb7b78a3051c3975b4fc32d387ad1f /terminal.h | |
| parent | term: log error when failing to initialize the primary fonts (diff) | |
| parent | selection: handle line break at last column correctly (diff) | |
Merge branch 'text-reflow'
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -42,7 +42,8 @@ struct attributes { uint32_t have_fg:1; uint32_t have_bg:1; uint32_t selected:2; - uint32_t reserved:3; + uint32_t linefeed:1; + uint32_t reserved:2; uint32_t bg:24; }; static_assert(sizeof(struct attributes) == 8, "bad size"); @@ -403,6 +404,7 @@ void term_scroll_partial( void term_scroll_reverse_partial( struct terminal *term, struct scroll_region region, int rows); +void term_formfeed(struct terminal *term); void term_linefeed(struct terminal *term); void term_reverse_index(struct terminal *term); |
