summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-05-17 19:09:10 +0100
committerGitHub <noreply@github.com>2020-05-17 19:09:10 +0100
commita9c3a423231e26ea3edee51d5f0bf949ca8e529b (patch)
treebaac0b68f1d2daf66a140dc15d6d731eba64c9dc /doc
parentc1ce4be756e2554051a27f244303377c0a7d69a6 (diff)
downloadminetest-a9c3a423231e26ea3edee51d5f0bf949ca8e529b.tar.gz
minetest-a9c3a423231e26ea3edee51d5f0bf949ca8e529b.tar.bz2
minetest-a9c3a423231e26ea3edee51d5f0bf949ca8e529b.zip
Add core.open_url() to main menu API (#8592)
Diffstat (limited to 'doc')
-rw-r--r--doc/menu_lua_api.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index 8f5460acb..485c50110 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -234,6 +234,11 @@ core.get_min_supp_proto()
core.get_max_supp_proto()
^ returns the maximum supported network protocol version
+Other:
+core.open_url(url)
+^ opens the URL in a web browser, returns false on failure.
+^ Must begin with http:// or https://
+
Async:
core.handle_async(async_job,parameters,finished)
^ execute a function asynchronously