Add in_lua flag

In preparation of making config errors available to lua scripts,
instead outputting them via pline.
This commit is contained in:
Pasi Kallinen
2021-02-10 17:06:12 +02:00
parent 33ee596d68
commit 9576154690
6 changed files with 16 additions and 6 deletions
+1
View File
@@ -174,6 +174,7 @@ struct instance_flags {
* a structure of their own elsewhere some day.
*/
boolean debug_fuzzer; /* fuzz testing */
boolean in_lua; /* executing a lua script */
boolean defer_plname; /* X11 hack: askname() might not set g.plname */
boolean herecmd_menu; /* use menu when mouseclick on yourself */
boolean invis_goldsym; /* gold symbol is ' '? */