« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/backend.js
diff options
context:
space:
mode:
Diffstat (limited to 'backend.js')
-rw-r--r--backend.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend.js b/backend.js
index 3b2343e..fe7014b 100644
--- a/backend.js
+++ b/backend.js
@@ -866,4 +866,8 @@ export default class Backend extends EventEmitter {
   async download(item) {
     return download(item, this.getRecordFor(item))
   }
+
+  showLogMessage(text) {
+    this.emit('log message', text)
+  }
 }