Print the type in uri display - sacc - sacc(omys), simple console gopher client | |
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65… | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit 3338ef505459c6b0bba430e929c3f7271bce9ea1 | |
parent a0ef31d2b7c3849f00ab3e2cd2e6b83df4df35f8 | |
Author: [email protected] <[email protected]> | |
Date: Wed, 30 Aug 2017 18:40:05 +0200 | |
Print the type in uri display | |
Diffstat: | |
M ui_ti.c | 5 +++-- | |
1 file changed, 3 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/ui_ti.c b/ui_ti.c | |
@@ -175,8 +175,9 @@ displayuri(Item *item) | |
n = printf("%s: %s", item->username, item->selector); | |
break; | |
default: | |
- n = printf("%s: %s:%s%s", item->username, | |
- item->host, item->port, item->selector); | |
+ n = printf("%s: %s:%s/%c%s", item->username, | |
+ item->host, item->port, item->type, | |
+ item->selector); | |
break; | |
} | |
putp(tparm(exit_standout_mode)); |