summaryrefslogtreecommitdiff
path: root/beescroll.lua
diff options
context:
space:
mode:
Diffstat (limited to 'beescroll.lua')
-rw-r--r--beescroll.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/beescroll.lua b/beescroll.lua
index 5ac1c20..45815f4 100644
--- a/beescroll.lua
+++ b/beescroll.lua
@@ -1,4 +1,5 @@
-local m = peripheral.find"monitor"
+local mname = settings.get("monitor.beescroll")
+local m = mname and peripheral.wrap(mname) or peripheral.find"monitor"
m.setTextScale(0.5)
local W,H = m.getSize()