tPrint i items when searching a string in items - sacc - sacc(omys), simple console gopher client (mirror) HTML git clone https://git.parazyd.org/sacc DIR Log DIR Files DIR Refs DIR LICENSE --- DIR commit 65bb62ab632f7bbc5eda03595ca58d0f67805ae6 DIR parent 40de964b66ff1edbd19b6a61a68cee6f731e735c HTML Author: Quentin Rameau <quinq@fifth.space> Date: Mon, 23 Oct 2017 18:09:48 +0200 Print i items when searching a string in items Diffstat: M ui_txt.c | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/ui_txt.c b/ui_txt.c t@@ -148,7 +148,9 @@ printuri(Item *item, size_t i) switch (item->type) { case 0: + break; case 'i': + printf("%zu: %s\n", i, item->username); break; case 'h': printf("%zu: %s: %s\n", i, item->username, item->selector);