about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 6a4e30c..c9c5142 100644
--- a/main.lua
+++ b/main.lua
@@ -2,12 +2,15 @@ utf8 = require 'utf8'
 
 require 'app'
 require 'test'
+
 require 'keychord'
+require 'button'
 
 require 'main_tests'
 
 -- delegate most business logic to a layer that can be reused by other projects
 require 'edit'
+Editor_state = {}
 
 -- called both in tests and real run
 function App.initialize_globals()
@@ -136,6 +139,7 @@ function App.filedropped(file)
 end
 
 function App.draw()
+  Button_handlers = {}
   edit.draw()
 end