diff options
Diffstat (limited to 'src/shared/ptyfwd.h')
-rw-r--r-- | src/shared/ptyfwd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shared/ptyfwd.h b/src/shared/ptyfwd.h index d7b658e181..d557dee9db 100644 --- a/src/shared/ptyfwd.h +++ b/src/shared/ptyfwd.h @@ -31,6 +31,9 @@ typedef struct PTYForward PTYForward; int pty_forward_new(sd_event *event, int master, bool repeat, PTYForward **f); PTYForward *pty_forward_free(PTYForward *f); -int pty_forward_last_char(PTYForward *f, char *ch); +int pty_forward_get_last_char(PTYForward *f, char *ch); + +int pty_forward_set_repeat(PTYForward *f, bool repeat); +int pty_forward_get_repeat(PTYForward *f); DEFINE_TRIVIAL_CLEANUP_FUNC(PTYForward*, pty_forward_free); |