Skip to content

Commit

Permalink
Change change change
Browse files Browse the repository at this point in the history
Change change change
  • Loading branch information
vax-r committed Mar 2, 2024
1 parent 422254d commit 99c7971
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion linenoise.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,13 @@ void line_set_free_hints_callback(line_free_hints_callback_t *fn)
}

/* Register a function to perform I/O multiplexing to monitor multiple file
* descriptor from different input at the same time.
* descriptor from different input at the same time, so we can allow the ability
* of receiving commands from different input sources and still provides the
* command-line auto-complete feature of this package. For example, the main
* loop of this package can only deal with standard input file descriptor
* originally. When this callback function is invoked, it allows the main loop
* of this package to deal with multiple file descriptors from different input
* alongside with the origin feature to deal with the standard input.
*/
void line_set_eventmux_callback(line_eventmux_callback_t *fn)
{
Expand Down

0 comments on commit 99c7971

Please sign in to comment.