diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-09-18 01:32:23 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-09-18 01:32:23 -0700 |
commit | 141d41aec536a960096e777cb9f6ceef08f121a1 (patch) | |
tree | a2e02ec41d33bb773d32bad6f9e4c160a82b70e9 /source_edit.lua | |
parent | 936d3b4616007916c21fba86fec7a67b9ae72ea2 (diff) | |
download | lines.love-141d41aec536a960096e777cb9f6ceef08f121a1.tar.gz |
hide editor cursor while in file navigator
Diffstat (limited to 'source_edit.lua')
-rw-r--r-- | source_edit.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source_edit.lua b/source_edit.lua index c17ce26..4f55083 100644 --- a/source_edit.lua +++ b/source_edit.lua @@ -124,7 +124,7 @@ function edit.fixup_cursor(State) end end -function edit.draw(State) +function edit.draw(State, hide_cursor) State.button_handlers = {} App.color(Text_color) if #State.lines ~= #State.line_cache then @@ -170,7 +170,7 @@ function edit.draw(State) end, }) end - y, State.screen_bottom1.pos, State.screen_bottom1.posB = Text.draw(State, line_index, y, startpos, startposB) + y, State.screen_bottom1.pos, State.screen_bottom1.posB = Text.draw(State, line_index, y, startpos, startposB, hide_cursor) y = y + State.line_height --? print('=> y', y) elseif line.mode == 'drawing' then |