bugfix: disable typing while file navigator is open

This commit is contained in:
Kartik K. Agaram 2022-09-18 01:28:05 -07:00
parent 89b30a62ef
commit 936d3b4616
1 changed files with 3 additions and 0 deletions

View File

@ -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