Function menu

Creates a menu from a Range of strings.

T menu(T, Range) (
  string question,
  Range options
)
if ((is(T == ElementType!Range) || is(T == int)) && isForwardRange!Range);

It will require that a number is selected within the number of options.

If the the return type is a string, the string in the options parameter will be returned.

Throws

NoInputException if the user wants to quit.