add_hotkey_to_menu = function(s) local s_text = to_hud_text(s) local width = s_text:getWidth() if Menu_cursor > App.screen.width - 30 then return end App.color(Menu_command_color) App.screen.draw(s_text, Menu_cursor,5) Menu_cursor = Menu_cursor + width + 30 end