aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-10-10 15:19:43 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-10-10 15:19:43 +0000
commit3949e3427169f20f050d5df8ae824fa5a8d75fd6 (patch)
tree7830b31070c56144007bed74d8014aa6cf6bde7e /terminal.h
parentpgo: run xtgettcap without any arguments (diff)
parentrender: rename term->render.resizing -> term->interactive_resizing (diff)
Merge branch 'delayed-reflow'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 0dde6330..d5ed1ba2 100644
--- a/terminal.h
+++ b/terminal.h
@@ -599,6 +599,12 @@ struct terminal {
} render;
struct {
+ struct grid *grid; /* Original ‘normal’ grid, before resize started */
+ int old_screen_rows; /* term->rows before resize started */
+ int new_rows; /* New number of scrollback rows */
+ } interactive_resizing;
+
+ struct {
enum {
SIXEL_DECSIXEL, /* DECSIXEL body part ", $, -, ? ... ~ */
SIXEL_DECGRA, /* DECGRA Set Raster Attributes " Pan; Pad; Ph; Pv */
@@ -805,6 +811,9 @@ void term_collect_urls(struct terminal *term);
void term_osc8_open(struct terminal *term, uint64_t id, const char *uri);
void term_osc8_close(struct terminal *term);
+bool term_ptmx_pause(struct terminal *term);
+bool term_ptmx_resume(struct terminal *term);
+
static inline void term_reset_grapheme_state(struct terminal *term)
{
#if defined(FOOT_GRAPHEME_CLUSTERING)