summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua/include_lua/print.lua
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-09-27 10:19:30 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2020-09-27 15:57:34 +0000
commit018e0051bcea0ae1d6e1bda6b84940ce8508db61 (patch)
tree98065982d306ce7c4d44aecf0f37a523fe2c4a6f /apps/plugins/lua/include_lua/print.lua
parent201e9bcde8d0d222d71792dc577d9eced4f45ebc (diff)
downloadrockbox-018e0051bcea0ae1d6e1bda6b84940ce8508db61.tar.gz
rockbox-018e0051bcea0ae1d6e1bda6b84940ce8508db61.tar.bz2
rockbox-018e0051bcea0ae1d6e1bda6b84940ce8508db61.zip
lua playback example
cool little lua based audio player creates dynamic playlist of 10 mp3s found on device if no music loaded I had to limit the depth of search to 3 levels due to the recursive nature of the current dirbrowser functions this could be rectified with a bit more code fixed a bug in print.lua that kept scrolling text even after screen clear Change-Id: Ifd285332df41a409ecaeb1ea447ad15537b5d04c
Diffstat (limited to 'apps/plugins/lua/include_lua/print.lua')
-rw-r--r--apps/plugins/lua/include_lua/print.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/lua/include_lua/print.lua b/apps/plugins/lua/include_lua/print.lua
index 5ea0423f01..3e92a155ba 100644
--- a/apps/plugins/lua/include_lua/print.lua
+++ b/apps/plugins/lua/include_lua/print.lua
@@ -227,6 +227,7 @@ local _print = {} do
local o = get_settings(true)
_LCD:clear(o.bg_pattern, o.x, o.y, o.x + o.width, o.y + o.height)
if o.autoupdate == true then rb.lcd_update() end
+ rb.lcd_scroll_stop()
set_line(1)
for i=1, #col_buf do col_buf[i] = _NIL end
s_lines = {}