sacc

sacc(omys), simple console gopher client (mirror)
git clone https://git.parazyd.org/sacc
Log | Files | Refs | LICENSE

commit 4472c9895534239b693171b37c1766352b538419
parent 795273efd4ce345d72749d61e1a9be5c978aba73
Author: Quentin Rameau <quinq@fifth.space>
Date:   Mon, 23 Oct 2017 17:55:48 +0200

Fix status display in text UI (from 723df46)

Diffstat:
Mui_txt.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui_txt.c b/ui_txt.c @@ -81,7 +81,7 @@ printstatus(Item *item, char c) unsigned long long printoff = dir ? dir->printoff : 0; fmt = (strcmp(item->port, "70") && strcmp(item->port, "gopher")) ? - "%3lld%%%*c %s:%7$s/%c%s [%c]" : "%3lld%%%*c %s/%c%s [%c]"; + "%3lld%%%*c %s:%7$s/%c%s [%c]: " : "%3lld%%%*c %s/%c%s [%c]: "; printf(fmt, (printoff + lines-1 >= nitems) ? 100 : (printoff + lines) * 100 / nitems, ndigits(nitems)+2, '|', item->host, item->type, item->selector, c, item->port);