diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-09-18 01:28:05 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-09-18 01:28:05 -0700 |
commit | 936d3b4616007916c21fba86fec7a67b9ae72ea2 (patch) | |
tree | c1f8c2a9e94fd40b0419eccf49a26e8580f03e90 | |
parent | 89b30a62efda3aa662826801e3e8d70779996569 (diff) | |
download | text.love-936d3b4616007916c21fba86fec7a67b9ae72ea2.tar.gz |
bugfix: disable typing while file navigator is open
-rw-r--r-- | source.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source.lua b/source.lua index 13a66cd..c8c83a4 100644 --- a/source.lua +++ b/source.lua @@ -307,6 +307,9 @@ end function source.textinput(t) Cursor_time = 0 -- ensure cursor is visible immediately after it moves + if Show_file_navigator then + return + end if Focus == 'edit' then return edit.textinput(Editor_state, t) else |