From e10fee00011f6c1ef8ee5b884adb11013954a1c9 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 7 Aug 2016 16:22:50 +0100 Subject: Allow fields to choose whether they close on enter press --- doc/lua_api.txt | 18 +++++++++++++++--- src/guiFormSpecMenu.cpp | 28 +++++++++++++++++++++++----- src/guiFormSpecMenu.h | 12 +++++++----- 3 files changed, 45 insertions(+), 13 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 440edd963..579fe796e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1503,17 +1503,23 @@ examples. * If `true` the background is clipped to formspec size (`x` and `y` are used as offset values, `w` and `h` are ignored) -#### `pwdfield[,;,;;