aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-12-28 09:52:21 +0100
committerPilzAdam <PilzAdam@gmx.de>2013-01-04 20:09:09 +0100
commit46d431e7c3cb1345c34613647a6eb61aabeb087a (patch)
tree18bfa1da7a00854d3ac6f7da13560dce56ed5d20 /doc
parent615fd498bc04fce67aa72549536d38b503d7d570 (diff)
downloadminetest-46d431e7c3cb1345c34613647a6eb61aabeb087a.tar.gz
minetest-46d431e7c3cb1345c34613647a6eb61aabeb087a.tar.bz2
minetest-46d431e7c3cb1345c34613647a6eb61aabeb087a.zip
Implement textarea in formspec, a multiline input field
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index f891b56f0..34738974a 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -725,6 +725,9 @@ field[<name>;<label>;<default>]
^ must be used without a size[] element
^ a 'Proceed' button will be added automatically
+textarea[<X>,<Y>;<W>,<H>;<name>;<label>;<default>]
+^ same as fields above, but with multi-line input
+
label[<X>,<Y>;<label>]
^ x and y work as per field
^ label is the text on the label