commit 98afd4758f417d3f1c3908a91346463e774d704d
parent 756bf022fb40ea9f094694ef44fa3ab16d70e718
Author: Yuval Langer <yuval.langer@gmail.com>
Date: Wed, 12 Jul 2023 00:09:26 +0300
Fix(?) bug which treats text starting with "-" as an option.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/clipboard-speaker.scm b/clipboard-speaker.scm
@@ -245,6 +245,7 @@
(spawn "espeak-ng" `("espeak-ng"
"-s"
,(number->string words-per-minute)
+ "--" ; TODO: XXX: Avoid treating texts as options? Maybe?
,text-to-speak)))
(waitpid espeak-ng-pid)