ARIF_RL_DISPLAY(3) | ARIF User Manual | ARIF_RL_DISPLAY(3) |
arif_rl_display - display Readline completion candidates
#include <arif/arif_rl.h>
void arif_rl_display ( struct arif_ctx *ctx, char **matches, int num, int max_len );
The arif_rl_display() function fetches the current page of candidates from input context ctx, and prints their display text with Readline's rl_display_match_list() function.
This function is intended be called from within a custom Readline rl_completion_display_matches_hook function, with arguments matches, num and max_len passed as-is.
Copyright (C) 2023 CismonX <admin@cismon.net>
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
You should have received a copy of the license along with this document. If not, see <https://www.gnu.org/licenses/fdl-1.3.html>.
arif_fetch(3), readline(3)
January 2, 2023 | 0.1.0 |