draw_file_dialog_input = function() -- draw a suffix to ensure the cursor is visible App.color(Normal_color) love.graphics.print(File_dialog_input_draw_suffix, Menu_left+15, Menu_top+10) local w = App.width(File_dialog_input_draw_suffix) draw_cursor(Menu_left+15+w, Menu_top+10, Current_pane.editor_state.line_height) end