« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index f432ebe..90343e3 100644
--- a/ui.js
+++ b/ui.js
@@ -521,7 +521,7 @@ class AppElement extends FocusElement {
       if (await commandExists('espeak')) {
         await promisifyProcess(spawn('espeak', [message]));
       } else if (await commandExists('say')) {
-        await promisifyProcess(spawn('espeak', [message]));
+        await promisifyProcess(spawn('say', [message]));
       }
       queuePlayer.fadeIn();
     }