From 3e8d4ab0235aba332c8183462de4106795496b20 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 1 May 2016 20:48:59 -0400 Subject: the event loop should own the terminal, not the other way around this way, we should be able to have multiple terminals in the same process --- src/term.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/term.h') diff --git a/src/term.h b/src/term.h index be3ae99..e9e6b27 100644 --- a/src/term.h +++ b/src/term.h @@ -9,10 +9,10 @@ struct runes_term { VT100Screen scr; RunesConfig config; RunesDisplay display; - RunesLoop loop; + RunesLoop *loop; }; -void runes_term_init(RunesTerm *t, int argc, char *argv[]); +void runes_term_init(RunesTerm *t, RunesLoop *loop, int argc, char *argv[]); void runes_term_cleanup(RunesTerm *t); #endif -- cgit v1.2.3-54-g00ecf