« get me outta code hell

"party sources" ui (no socket functionality yet) - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/index.js
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-04-22 20:06:58 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-16 21:58:20 -0300
commitb47f2968742b77378791f171c819957546b4fc7d (patch)
tree42fc5d7629422e72485f8a1af20aec8854a9d7dc /index.js
parent9b7544a8c30e176bff9b8b9014719e9e6456fb63 (diff)
"party sources" ui (no socket functionality yet)
Diffstat (limited to 'index.js')
-rwxr-xr-xindex.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.js b/index.js
index efee187..21bd80a 100755
--- a/index.js
+++ b/index.js
@@ -127,7 +127,10 @@ async function main() {
   const { appElement, dirtyTerminal, flushable, root } = await setupClient({
     backend,
     screenInterface: new CommandLineInterface(),
-    writable: process.stdout
+    writable: process.stdout,
+    appConfig: {
+      showPartyControls: !!(options['socket-server'] || options['socket-client'])
+    }
   })
 
   appElement.on('quitRequested', () => {