aboutsummaryrefslogtreecommitdiff
path: root/osc.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-07 14:32:18 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-07 14:32:18 +0000
commitd63629b370c4e38db527605863f0533666b6f629 (patch)
tree6f8690bdcbb5994b15a0195b5f1ca346eb02cdba /osc.h
parentrender: performance: don't stack allocate glyph sequence (diff)
performance improvements
* action() returns void - this gets rid of checks in vt_from_slave() * split up ACTION_PRINT into ACTION_PRINT (ASCII) and ACTION_UTF8_PRINT ACTION_PRINT is on the hot path, and we want it streamlined. * Remove run-time checkout for unimplemented state transitions, as we shouldn't have any of those left. * Don't re-load current VT state on each iteration in vt_from_slave()
Diffstat (limited to 'osc.h')
-rw-r--r--osc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/osc.h b/osc.h
index 91a01bc4..9b0b8328 100644
--- a/osc.h
+++ b/osc.h
@@ -3,4 +3,4 @@
#include <stdbool.h>
#include "terminal.h"
-bool osc_dispatch(struct terminal *term);
+void osc_dispatch(struct terminal *term);