ref: de50e1384e1691a5779f2e1be53aeee4a207a8ab
parent: d1e4deeddb58a5560716055aef03d75585574b2d
author: qwx <[email protected]>
date: Mon Nov 28 19:29:24 EST 2022
always repaint window on command, even if failed
--- a/pplay.c
+++ b/pplay.c
@@ -155,7 +155,7 @@
break;
qlock(&lsync);
switch(cmd(p)){
- case -1: fprint(2, "cmd \"%s\" failed: %r\n", p); break;
+ case -1: fprint(2, "cmd \"%s\" failed: %r\n", p); update(); break;
case 0: update(); break;
case 1: redraw(0); break;
case 2: redraw(1); break;