aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-11 18:39:23 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-11 18:39:23 +0000
commit335bf2e5b4cda58e56860d3cc3ad23e215c80a78 (patch)
tree93cffbfa13cb7b78a3051c3975b4fc32d387ad1f /terminal.h
parentterm: log error when failing to initialize the primary fonts (diff)
parentselection: handle line break at last column correctly (diff)
Merge branch 'text-reflow'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index b4ce1212..449a1329 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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);