diff options
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main.lua b/main.lua index 7321256..8902b11 100644 --- a/main.lua +++ b/main.lua @@ -384,6 +384,8 @@ function App.mousereleased(x,y, button) --? print('reset selection') Cursor1 = {line=line_index, pos=Text.to_pos_on_line(line, x, y)} --? print('cursor', Cursor1.line, Cursor1.pos) + -- ensure cursor is immediately visible + Cursor_time = 0 if Mousepress_shift then if Old_selection1.line == nil then Selection1 = Old_cursor1 |