For commit e4e12c77ad which fixed a regression caused by commit 24a0d162ef.
Y2ZIPXEMMCY5GHJDDF7OMRKEQYMSDR5QTJDA7Y2SBOTHAJKHWVOAC
function test_click_with_mouse()
io.write('\ntest_click')
-- display two lines with cursor on one of them
App.screen.init{width=50, height=80}
Lines = load_array{'abc', 'def'}
Line_width = App.screen.width
Cursor1 = {line=2, pos=1}
Screen_top1 = {line=1, pos=1}
Screen_bottom1 = {}
-- click on the other line
local screen_left_margin = 25 -- pixels
App.draw()
App.run_after_mouse_click(screen_left_margin+8,Margin_top+5, '1')
-- cursor moves
check_eq(Cursor1.line, 1, 'F - test_click/cursor')
end