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/pty-unix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pty-unix.h') diff --git a/src/pty-unix.h b/src/pty-unix.h index e8ee185..22abaae 100644 --- a/src/pty-unix.h +++ b/src/pty-unix.h @@ -12,7 +12,7 @@ struct runes_pty { }; void runes_pty_backend_spawn_subprocess(RunesTerm *t); -void runes_pty_backend_init_loop(RunesTerm *t); +void runes_pty_backend_init_loop(RunesTerm *t, RunesLoop *loop); void runes_pty_backend_set_window_size(RunesTerm *t); void runes_pty_backend_write(RunesTerm *t, char *buf, size_t len); void runes_pty_backend_request_close(RunesTerm *t); -- cgit v1.2.3-54-g00ecf