aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-29 17:38:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-29 17:38:56 +0000
commit70f12741716757631810dc52ffa5d7fab8efbaaf (patch)
tree2b3420dce520faecf5ce72d1d410237028e4b2ca /terminal.h
parentMerge branch 'allow-mouse-binding-click-count-less-than' into master (diff)
parentchangelog: fixed color flashes with OSC 4,10,11 (diff)
Merge branch 'osc4-refresh-scheduling' into master
Closes #141
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index 12e93ce2..60a4aba4 100644
--- a/terminal.h
+++ b/terminal.h
@@ -373,7 +373,6 @@ struct terminal {
/* Scheduled for rendering, as soon-as-possible */
struct {
bool grid;
- bool margins;
bool csd;
bool search;
bool title;
@@ -382,12 +381,13 @@ struct terminal {
/* Scheduled for rendering, in the next frame callback */
struct {
bool grid;
- bool margins;
bool csd;
bool search;
bool title;
} pending;
+ bool margins; /* Someone explicitly requested a refresh of the margins */
+
int scrollback_lines; /* Number of scrollback lines, from conf (TODO: move out from render struct?) */
struct {
@@ -512,6 +512,9 @@ void term_damage_rows_in_view(struct terminal *term, int start, int end);
void term_damage_all(struct terminal *term);
void term_damage_view(struct terminal *term);
+void term_damage_cursor(struct terminal *term);
+void term_damage_margins(struct terminal *term);
+
void term_reset_view(struct terminal *term);
void term_damage_scroll(