commit 65bb62ab632f7bbc5eda03595ca58d0f67805ae6
parent 40de964b66ff1edbd19b6a61a68cee6f731e735c
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:
1 file changed, 2 insertions(+), 0 deletions(-)
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);