From 8f8f267830f6be5d269fa81089bf3deb8bf71aa5 Mon Sep 17 00:00:00 2001 From: speedie Date: Sun, 7 May 2023 18:07:02 +0200 Subject: [PATCH] resize client --- libs/stream.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/stream.c b/libs/stream.c index bc67364..1023c2f 100644 --- a/libs/stream.c +++ b/libs/stream.c @@ -105,7 +105,7 @@ void readfile(void) { } inputw = items ? TEXTWM(items[i].text) : 0; - lines = MIN(lines, i); + lines = i; if (!o) longestedge = imagegaps = 0; @@ -116,6 +116,8 @@ void readfile(void) { olistcount = listcount; listcount = i; listchanged = 1; + + resizeclient(); } } else { free(items);