From d63629b370c4e38db527605863f0533666b6f629 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 7 Jul 2019 16:32:18 +0200 Subject: 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() --- osc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'osc.h') diff --git a/osc.h b/osc.h index 91a01bc4..9b0b8328 100644 --- a/osc.h +++ b/osc.h @@ -3,4 +3,4 @@ #include #include "terminal.h" -bool osc_dispatch(struct terminal *term); +void osc_dispatch(struct terminal *term); -- cgit v1.3