« 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.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index ba7a798..7037e87 100644
--- a/ui.js
+++ b/ui.js
@@ -3776,6 +3776,11 @@ class Menubar extends ListScrollForm {
     writable.write(' '.repeat(this.w))
     writable.write(ansi.resetAttributes())
   }
+
+  get color() { return this.getDep('color') }
+  set color(v) { return this.setDep('color', v) }
+  get attribute() { return this.getDep('attribute') }
+  set attribute(v) { return this.setDep('attribute', v) }
 }
 
 class PartyBanner extends DisplayElement {