Async support. More...
Functions | |
bool | ic_async_stop (void) |
Thread-safe way to asynchronously unblock a readline. More... | |
Async support.
bool ic_async_stop | ( | void | ) |
Thread-safe way to asynchronously unblock a readline.
Behaves as if the user pressed the ctrl-C
character (resulting in returning NULL from ic_readline
). Returns true
if the event was successfully delivered. (This may not be supported on all platforms, but it is functional on Linux, macOS and Windows).