diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-09 10:24:50 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-09 10:24:50 +0000 |
| commit | 8955875584714ece0929840eb941f33e068f1f69 (patch) | |
| tree | 177e86a4977efcb5801e8d1e1a723648ef357e8b /terminal.h | |
| parent | term: reduce max number of iterations when trying to drain client (diff) | |
| parent | meson/PKGBUILD: adjust fcft requirements; the new version is 1.1.1 (diff) | |
Merge branch 'text-resize'
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -175,11 +175,18 @@ struct ptmx_buffer { struct terminal { struct fdm *fdm; + const struct config *conf; pid_t slave; int ptmx; bool quit; + struct grid normal; + struct grid alt; + struct grid *grid; + + struct font *fonts[4]; + tll(struct ptmx_buffer) ptmx_buffer; enum cursor_keys cursor_keys_mode; @@ -277,12 +284,6 @@ struct terminal { size_t match_len; } search; - struct grid normal; - struct grid alt; - struct grid *grid; - - struct font *fonts[4]; - struct { bool esc_prefix; bool eight_bit; @@ -362,6 +363,10 @@ int term_destroy(struct terminal *term); void term_reset(struct terminal *term, bool hard); bool term_to_slave(struct terminal *term, const void *data, size_t len); +void term_font_size_increase(struct terminal *term); +void term_font_size_decrease(struct terminal *term); +void term_font_size_reset(struct terminal *term); + void term_damage_rows(struct terminal *term, int start, int end); void term_damage_rows_in_view(struct terminal *term, int start, int end); |
