diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-09 00:11:10 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-09 00:11:10 -0400 |
commit | 6beb7818efb57851a042953937af72163f1bde6c (patch) | |
tree | 6abc8763d6182f4c3de6da8567d05f995fd53db0 /term.c | |
parent | ef5cd6e10e93ef973536d2df2ad57ac42a2118ea (diff) | |
download | runes-6beb7818efb57851a042953937af72163f1bde6c.tar.gz runes-6beb7818efb57851a042953937af72163f1bde6c.zip |
spawn a shell process and run it on a pty
not at all convinced that this is correct, but it at least does things
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4,8 +4,12 @@ void runes_term_init(RunesTerm *t, int argc, char *argv[]) { + runes_pty_backend_init(t); + t->loop = uv_default_loop(); + runes_pty_backend_loop_init(t); + runes_window_backend_init(t, argc, argv); t->cr = cairo_create(runes_window_backend_surface_create(t)); } @@ -14,4 +18,5 @@ void runes_term_cleanup(RunesTerm *t) { cairo_destroy(t->cr); runes_window_backend_cleanup(t); + runes_pty_backend_cleanup(t); } |