From 26640c9101c68f504a552e131e35dd9063172c45 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 12 Jun 2022 10:46:25 -0700 Subject: new test For commit e4e12c77ad which fixed a regression caused by commit 24a0d162ef. --- app.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app.lua') diff --git a/app.lua b/app.lua index ae36495..20fd027 100644 --- a/app.lua +++ b/app.lua @@ -236,6 +236,15 @@ function App.run_after_keychord(key) App.draw() end +function App.run_after_mouse_click(x,y, button) + App.fake_mouse_press(x,y, button) + App.mousepressed(x,y, button) + App.fake_mouse_release(x,y, button) + App.mousereleased(x,y, button) + App.screen.contents = {} + App.draw() +end + function App.run_after_mouse_press(x,y, button) App.fake_mouse_press(x,y, button) App.mousepressed(x,y, button) -- cgit 1.4.1-2-gfad0