shithub: zuke

Download patch

ref: efd5647c5a30f87becd0d96e9f209b70b41ab0cd
parent: 61cfb51244f83d2961bd359c2916c09ce022b942
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Dec 10 04:49:33 EST 2019

fix fast backwards seeking

--- a/zuke.c
+++ b/zuke.c
@@ -436,7 +436,7 @@
 	}
 
 	pcurplaying = player->pcur;
-	if(c != Cbackward)
+	if(c != Cbackward && c != Cbackwardfast)
 		redraw(screen, 0);
 
 	while(1){
@@ -494,7 +494,7 @@
 
 	if(n == 0){ /* seeking backwards or end of the song */
 		close(p[1]);
-		if(c != Cbackward){
+		if(c != Cbackward && c != Cbackwardfast){
 			playercurr = nil;
 			playercurr = newplayer((player->pcur+1) % plnum, 1);
 			start(playercurr);