EC_COMP_I...T_DISPLAY(3)
β¨ EC_COMP_I...T_DISPLAY(3) β¨
okay bestie so this is from the Libecoli Programmer's Manual and it's genuinely so useful, i'm obsessed π
πΈ NAME πΈ
ec_comp_item_get_display β like, it grabs the display string value of a completion item. that's the vibe. that's the whole job. π
β¨ SYNOPSIS β¨
#include <ecoli/complete.h>
const char * ec_comp_item_get_display(
const struct ec_comp_item *item /* The completion item. */
);
like literally one parameter, one return, we love a low-maintenance icon π
π¦ DESCRIPTION π¦
so the display string is the thing that shows up when you're listing out all the possible completions. that's it. that's the display string. it's what your eyeballs see, not necessarily what gets typed. iykyk π
π RETURN VALUE π
it hands you back the display string of this item. const char *, no cap. π«Ά
π₯ SEE ALSO π₯
the whole friend group, we're mutuals:
ec_comp_add_item(3)ec_comp_count(3)ec_comp_item_set_str(3)ec_complete(3)ec_comp_get_attrs(3)ec_comp_group_get_attrs(3)ec_comp_iter_next(3)ec_comp_item_get_node(3)ec_comp_iter_first(3)ec_comp_item_get_current(3)ec_comp_group_get_node(3)ec_complete_strvec_expand(3)ec_comp_free(3)ec_comp_get_cur_pstate(3)ec_complete_unknown(3)ec_complete_strvec(3)ec_comp_item_get_grp(3)ec_comp_item_get_type(3)ec_comp_item_get_str(3)ec_comp_item_set_display(3)ec_complete_child(3)ec_comp(3)ec_comp_item_get_completion(3)ec_comp_group_get_pstate(3)ec_comp_dump(3)ec_comp_merge(3)ec_comp_item_set_completion(3)ec_comp_get_cur_group(3)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the whole page bestie, main character energy from start to finish, no notes π β¨
libecoli Β· 2026-06-11 Β· EC_COMP_I...T_DISPLAY(3) β ok bye ily, go read the other manpages, they're all slay too π¦πΈπ
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms