~sircmpwn/hare-dev

hare: cmd/hare: Do not set progress width to 0 v1 APPLIED

Haelwenn (lanodan) Monnier: 1
 cmd/hare: Do not set progress width to 0

 1 files changed, 1 insertions(+), 1 deletions(-)
#752418 alpine.yml success
#752419 freebsd.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/hare-dev/patches/32032/mbox | git am -3
Learn more about email & git

[PATCH hare] cmd/hare: Do not set progress width to 0 Export this patch

From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>

As can happen when building into gentoo's portage.

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
---
 cmd/hare/progress.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/hare/progress.ha b/cmd/hare/progress.ha
index 433f0767..ee21a3b0 100644
--- a/cmd/hare/progress.ha
+++ b/cmd/hare/progress.ha
@@ -13,7 +13,7 @@ fn progress_update(plan: *plan) void = {

	const width = match (tty::winsize(tty)) {
	case let ts: tty::ttysize =>
		yield if (ts.columns > 64) 64 else ts.columns;
		yield if (ts.columns > 64 || ts.columns == 0) 64 else ts.columns;
	case =>
		yield 64;
	}: size;
-- 
2.35.1
Thanks!

To git@git.sr.ht:~sircmpwn/hare
   403b0aaf..232ee414  master -> master
hare/patches: SUCCESS in 1m55s

[cmd/hare: Do not set progress width to 0][0] from [Haelwenn (lanodan) Monnier][1]

[0]: https://lists.sr.ht/~sircmpwn/hare-dev/patches/32032
[1]: mailto:contact+sr.ht@hacktivis.me

✓ #752418 SUCCESS hare/patches/alpine.yml  https://builds.sr.ht/~sircmpwn/job/752418
✓ #752419 SUCCESS hare/patches/freebsd.yml https://builds.sr.ht/~sircmpwn/job/752419