shithub: puzzles

Download patch

ref: b66a38bbdc4405cce7050b8e8bbcae8d69c3dc2c
parent: 0632a3c2e4474014a6c081b87c253cc55d7c2109
author: Ben Harris <bjh21@bjh21.me.uk>
date: Wed Mar 22 13:59:14 EDT 2023

Turn on PUZZLES_SHOW_CURSOR on KaiOS

Most KaiOS devices are primarily keyboard-based, so this seems like a
reasonable approach.

I've also switched to specifying boolean values as JSON booleans because
that works now.

--- a/kaios/apppage.pl
+++ b/kaios/apppage.pl
@@ -20,7 +20,8 @@
 <!-- Override some defaults for small screens -->
 <script id="environment" type="application/json">
 { "PATTERN_DEFAULT": "10x10",
-  "PUZZLES_ALLOW_CUSTOM": "N" }
+  "PUZZLES_ALLOW_CUSTOM": false,
+  "PUZZLES_SHOW_CURSOR": true }
 </script>
 <style class="text/css">
 body {