diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-10-03 22:45:27 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-10-04 04:00:54 -0400 |
commit | 1aa739e3c3d1ce25cdebe285847c3c493756d5d6 (patch) | |
tree | 554a5500c2483032fddb06bd5ff8589e942d86be /apps/plugins/lua_scripts/splashscroller.lua | |
parent | f3ae48f552e2d12e1d60e86198ff7ee26aabc2ec (diff) | |
download | rockbox-1aa739e3c3d1ce25cdebe285847c3c493756d5d6.tar.gz rockbox-1aa739e3c3d1ce25cdebe285847c3c493756d5d6.zip |
lua misc tweaks and cleanup
checks button_status in rockev
strpbrk_n custom implementation allows setting max search len in source string
add some branch prediction where appropriate
fix formatting in splash_scroller script
Change-Id: Id5d8e9d83f4b3e361ccb67b403af8f9a8a31b8f0
Diffstat (limited to 'apps/plugins/lua_scripts/splashscroller.lua')
-rw-r--r-- | apps/plugins/lua_scripts/splashscroller.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua_scripts/splashscroller.lua b/apps/plugins/lua_scripts/splashscroller.lua index 78a7266de8..4356d573ee 100644 --- a/apps/plugins/lua_scripts/splashscroller.lua +++ b/apps/plugins/lua_scripts/splashscroller.lua | |||
@@ -1 +1 @@ | |||
rb.splash_scroller(rb.HZ * 5, "This is a rb.splash_scroller test, it is meant to reflow text into a format easily digestable on small screen devices.\n\n it is not particularly adept at this as we strive for the bare minimum in order to leave room for YOUR code. :) \n\nHowever, it does recognize \t\\t \r\\r\n\\n\n\\b (bell)\b") | rb.splash_scroller(rb.HZ * 5, "This is a rb.splash_scroller test, it is meant to reflow text into a format easily digestable on small screen devices.\n\n it is not particularly adept at this as we strive for the bare minimum in order to leave room for YOUR code. :) \n\nHowever, it does recognize \n\t\\t \r\\r\n\\n\n\\b (bell)\b") | ||