Call input multiple times when button/ key is held down (but not every single frame)

You press space key, code sets value for eg: space_bar_pressed? to TRUE
When you release set space_bar_pressed? to FALSE

Then either create timer, or do this in event tick (like every 0.25 sec process buttons pressed, sequence is godsend for such stuff)
So every 0.25 sec while space_bar_pressed? is true do your stuff in menu.