diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-01 20:48:59 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-01 20:48:59 -0400 |
commit | 3e8d4ab0235aba332c8183462de4106795496b20 (patch) | |
tree | 87f2feb164c1aaab777ff10e60bb99781f3e434b /src/pty-unix.h | |
parent | a7d1e85a0b13b7a6f4d8a7be69410da2cc7d4d03 (diff) | |
download | runes-3e8d4ab0235aba332c8183462de4106795496b20.tar.gz runes-3e8d4ab0235aba332c8183462de4106795496b20.zip |
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
Diffstat (limited to 'src/pty-unix.h')
-rw-r--r-- | src/pty-unix.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |