Introduction
Introduction Statistics Contact Development Disclaimer Help
youtube/gopher: spacing improvements - frontends - front-ends for some sites (e…
Log
Files
Refs
README
LICENSE
---
commit 61d393efb87ceac4df82a714d1ecf13fcf1ee664
parent a68fe63dda124f7ed0e7926bc53687e54d29a994
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 22 Feb 2023 20:52:14 +0100
youtube/gopher: spacing improvements
Diffstat:
M youtube/gopher.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/youtube/gopher.c b/youtube/gopher.c
@@ -65,6 +65,10 @@ render(struct search_response *r)
header();
for (i = 0; i < r->nitems; i++) {
+ if (i > 0) {
+ info("");
+ info("");
+ }
if (videos[i].id[0])
putchar('h');
else
@@ -138,8 +142,6 @@ render(struct search_response *r)
OUTTEXT(videos[i].viewcount);
printf("\t%s\t%s\t%s\r\n", "", host, port);
}
- info("");
- info("");
}
footer();
@@ -203,7 +205,6 @@ main(void)
info("");
line('1', "<- back to main directory", requestpath);
- info("");
if (search[0]) {
r = youtube_search(search, "", "relevance");
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.