tickit_term_input_readable - Man Page

read more data from the terminal


#include <tickit.h>

void tickit_term_input_readable(TickitTerm *tt);

Link with -ltickit.


tickit_term_input_readable() informs the terminal instance that more data is, or may be, available on the input file descriptor previously set with tickit_term_set_input_fd(), and reads it. Calling this function may block if the underlying file descriptor is in blocking mode. It may result in TICKIT_EV_KEY or TICKIT_EV_MOUSE events being invoked.

This function also invokes deferred TICKIT_EV_RESIZE events if enabled by tickit_term_observe_sigwinch(3).

Return Value

tickit_term_input_readable() returns no value.

See Also

tickit_term_new(3), tickit_term_set_input_fd(3), tickit_term_input_push_bytes(3), tickit_term_bind_event(3), tickit_term(7), tickit(7)

Referenced By

tickit_term(7), tickit_term_input_push_bytes(3), tickit_term_input_wait_msec(3), tickit_term_observe_sigwinch(3), tickit_term_set_input_fd(3).