aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-16 20:59:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-03-16 20:59:06 +0000
commit749ae49c48eebe2ac62ee6dac9dea5fc570d10fd (patch)
tree8722d9825f55706c8bd523fc23e1435e6fd82eae /terminal.h
parentconfig: open_config(): remove unused argument ‘conf’ (diff)
parentcsi: update ASCII printer function pointer when switching to/from alt screen (diff)
Merge branch 'optimized-print-function'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 0fcd97ea..044fc581 100644
--- a/terminal.h
+++ b/terminal.h
@@ -266,6 +266,8 @@ struct terminal {
struct reaper *reaper;
const struct config *conf;
+ void (*ascii_printer)(struct terminal *term, wchar_t c);
+
pid_t slave;
int ptmx;
@@ -607,6 +609,8 @@ struct terminal *term_init(
bool term_shutdown(struct terminal *term);
int term_destroy(struct terminal *term);
+void term_update_ascii_printer(struct terminal *term);
+
void term_reset(struct terminal *term, bool hard);
bool term_to_slave(struct terminal *term, const void *data, size_t len);
bool term_paste_data_to_slave(