shithub: riscv

Download patch

ref: 0875cc2883deb30a0c75569ed8ee65c10988849b
parent: 518be82da324d9d72bcbd7007809e8c4f76f787b
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Sep 19 15:45:59 EDT 2022

audio/zuke: clear out enter() prompt image if search failed

--- a/sys/src/cmd/audio/zuke/zuke.c
+++ b/sys/src/cmd/audio/zuke/zuke.c
@@ -1010,7 +1010,6 @@
 	if(i >= 0 && i < pl->n){
 		pcur = i;
 		recenter();
-		redraw(0);
 	}else if(cycle && i+inc < 0){
 		cycle = 0;
 		i = pl->n;
@@ -1020,6 +1019,7 @@
 		i = -1;
 		goto onemore;
 	}
+	redraw(1);
 }
 
 static void