Move the terminal start/stop code into their own functions, exported (undocumented for now)

This commit is contained in:
Paul LeoNerd Evans
2012-03-08 21:15:25 +00:00
parent f7e4986849
commit 43a83e6e96
3 changed files with 81 additions and 47 deletions

View File

@@ -161,6 +161,9 @@ TermKey *termkey_new_abstract(const char *term, int flags);
void termkey_free(TermKey *tk);
void termkey_destroy(TermKey *tk);
int termkey_start(TermKey *tk);
int termkey_stop(TermKey *tk);
int termkey_get_fd(TermKey *tk);
int termkey_get_flags(TermKey *tk);