diff options
author | Johannes Lundberg <johalun@users.noreply.github.com> | 2020-10-09 13:28:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 22:28:11 +0200 |
commit | d356f901a3c26f2cce28ce0be64d26fff996e110 (patch) | |
tree | b4caf4d97bf82f3ee057a7d8879b72345341f871 | |
parent | 6921909100050c7d9509a2bcddc0ca178a7e0e37 (diff) | |
download | mesecons-d356f901a3c26f2cce28ce0be64d26fff996e110.tar mesecons-d356f901a3c26f2cce28ce0be64d26fff996e110.tar.gz mesecons-d356f901a3c26f2cce28ce0be64d26fff996e110.tar.bz2 mesecons-d356f901a3c26f2cce28ce0be64d26fff996e110.tar.xz mesecons-d356f901a3c26f2cce28ce0be64d26fff996e110.zip |
Make Lua code area and error label use monospaced font (#541)
-rw-r--r-- | mesecons_luacontroller/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesecons_luacontroller/init.lua b/mesecons_luacontroller/init.lua index 1960fc4..1c411dd 100644 --- a/mesecons_luacontroller/init.lua +++ b/mesecons_luacontroller/init.lua @@ -664,6 +664,7 @@ local function reset_formspec(meta, code, errmsg) code = minetest.formspec_escape(code or "") errmsg = minetest.formspec_escape(tostring(errmsg or "")) meta:set_string("formspec", "size[12,10]" + .."style_type[label,textarea;font=mono]" .."background[-0.2,-0.25;12.4,10.75;jeija_luac_background.png]" .."label[0.1,8.3;"..errmsg.."]" .."textarea[0.2,0.2;12.2,9.5;code;;"..code.."]" |