ref: a969a06590d24e86258898866999ad2a1328f66e
parent: f716762599fbab0ad8043d6d6bad1f4e86a6b9e9
author: qwx <qwx@sciops.net>
date: Sat Sep 16 15:55:37 EDT 2023
cmd: fix insert instead of replace when piping in audio
--- a/cmd.c
+++ b/cmd.c
@@ -140,6 +140,7 @@
Chunk *c;
d = *current;
+ d.off = -1ULL;
fd = (intptr)efd;
if((c = loadfile(fd, &cd)) == nil){
fprint(2, "failed reading from pipe: %r");