aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-23 17:39:17 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-23 17:39:17 -0400
commit0f9682d9d4db7f83fa7d45d1035e99982912535b (patch)
treea43806c55983374432219db5399acb8e2dd3374c /src/term.c
parent9f5a234faa692e3e797537ceeac0dc4a299efa2a (diff)
downloadrunes-0f9682d9d4db7f83fa7d45d1035e99982912535b.tar.gz
runes-0f9682d9d4db7f83fa7d45d1035e99982912535b.zip
also set WINDOWID
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/term.c b/src/term.c
index 7bf8c98..70b0df6 100644
--- a/src/term.c
+++ b/src/term.c
@@ -5,15 +5,10 @@
void runes_term_init(RunesTerm *t, int argc, char *argv[])
{
runes_config_init(t, argc, argv);
-
- /* doing most of the pty initialization right at the beginning, because
- * 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_spawn_subprocess(t);
-
runes_display_init(t);
+
runes_window_backend_create_window(t, argc, argv);
+ runes_pty_backend_spawn_subprocess(t);
runes_display_set_window_size(t);