Print i items when searching a string in items - sacc - sacc(omys), simple console gopher client
HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
DIR Log
DIR Files
DIR Refs
DIR Tags
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
@@ -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);