ARIF_RL_DISPLAY(3)
π¦ ARIF_RL_DISPLAY(3) π¦
okay bestie, welcome to the ARIF User Manual β this page is literally all about arif_rl_display, and it is giving βReadline completion candidate displayβ energy. no cap. π
β¨ NAME β¨
arif_rl_display β display Readline completion candidates, periodt. π
π¦ SYNOPSIS π¦
#include <arif_rl.h>
void
arif_rl_display (
struct arif_ctx *ctx,
char **matches,
int num,
int max_len
);
π DESCRIPTION π
so here is the tea: arif_rl_display() fetches the current page of candidates from the input context ctx, then prints their display text using Readline's rl_display_match_list() function. iconic behavior, honestly. β¨
it is intended to be called from inside a custom Readline rl_completion_display_matches_hook function β and when you do, you pass matches, num, and max_len through as-is. no renaming, no remixing, just pass them straight in. π«Ά
π COPYRIGHT π
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.
π SEE ALSO π
xoxo, your Unix bestie π
β ARIF_RL_DISPLAY(3), version 0.1.0, dated Jan 02, 2023 π«Άβ¨
π¦ where this page comes from
- alpine 3.24: arif-doc 0.3.0-r1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms