aboutsummaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-20 21:26:30 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-20 21:26:30 -0400
commit555797e76f787fbc04466a3281d5bafb840fe6a7 (patch)
tree7aa03bb663bcfd39fa1a75e23f4e905fa39cf5c3 /term.c
parentfb34f00c2fdc35c674f9c0ba0c9db6028605a6e9 (diff)
downloadrunes-555797e76f787fbc04466a3281d5bafb840fe6a7.tar.gz
runes-555797e76f787fbc04466a3281d5bafb840fe6a7.zip
start adding configuration
Diffstat (limited to 'term.c')
-rw-r--r--term.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/term.c b/term.c
index 6a18142..fe21752 100644
--- a/term.c
+++ b/term.c
@@ -1,11 +1,8 @@
-#include <stdlib.h>
-#include <string.h>
-
#include "runes.h"
void runes_term_init(RunesTerm *t, int argc, char *argv[])
{
- memset((void *)t, 0, sizeof(*t));
+ 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