« 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 <towerofnix@gmail.com>2021-04-22 20:06:58 -0300
commit45f804fef3766e3183610b93ac3d1ffb89f08408 (patch)
treea8591c4886ee9109ae21a5ee18a9c282a7435998 /index.js
parent1ca458abc3503ba951c5e19362a54208a285833c (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 d628a20..d212a82 100755
--- a/index.js
+++ b/index.js
@@ -111,7 +111,10 @@ async function main() {
   const { appElement, dirtyTerminal, flushable, root } = await setupClient({
     backend,
     interfacer: new CommandLineInterfacer(),
-    writable: process.stdout
+    writable: process.stdout,
+    appConfig: {
+      showPartyControls: !!(options['socket-server'] || options['socket-client'])
+    }
   })
 
   appElement.on('quitRequested', () => {