diff options
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -8,15 +8,16 @@ void runes_term_init(RunesTerm *t, int argc, char *argv[]) * libuv will set up a bunch of state (including potentially things like * spawning threads) when that is initialized, and i'm not really sure how * that interacts with forking */ - runes_pty_backend_init(t); - runes_window_backend_init(t); + runes_pty_backend_spawn_subprocess(t); runes_display_init(t); - t->loop = uv_default_loop(); + runes_window_backend_create_window(t, argc, argv); + + runes_display_set_window_size(t); - runes_pty_backend_post_init(t); - runes_window_backend_post_init(t, argc, argv); - runes_display_post_init(t); + t->loop = uv_default_loop(); + runes_window_backend_start_loop(t); + runes_pty_backend_start_loop(t); } void runes_term_cleanup(RunesTerm *t) |