aboutsummaryrefslogtreecommitdiff
path: root/termkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'termkey.c')
-rw-r--r--termkey.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/termkey.c b/termkey.c
index 9286149..5f5a9a9 100644
--- a/termkey.c
+++ b/termkey.c
@@ -446,6 +446,11 @@ int termkey_stop(TermKey *tk)
return 1;
}
+int termkey_is_started(TermKey *tk)
+{
+ return tk->is_started;
+}
+
int termkey_get_fd(TermKey *tk)
{
return tk->fd;