Now the order of keyboard functions on screen follows the flow of time when a key is pressed and released.
YQWHVXQ6A5NZS2DQQDKAYCQUKJ5KSEXUVN3IA6US5FGV2PNMU56QC endfunction run.text_input(t)Cursor_time = 0 -- ensure cursor is visible immediately after it movesif Export_filename_doublecheck then-- keychord_press did the work; we'll just clean upExport_filename_value = nilExport_filename_text = nilExport_filename_doublecheck = falseelseif Export_filename_value thenExport_filename_value = Export_filename_value..tExport_filename_text = nilreturnelseedit.text_input(Editor_state, t)end
endendfunction run.text_input(t)Cursor_time = 0 -- ensure cursor is visible immediately after it movesif Export_filename_doublecheck then-- keychord_press did the work; we'll just clean upExport_filename_value = nilExport_filename_text = nilExport_filename_doublecheck = falseelseif Export_filename_value thenExport_filename_value = Export_filename_value..tExport_filename_text = nilreturnelseedit.text_input(Editor_state, t)