Mnemonics

    map "<Cmd-y>" do
      input(
        "rel" => lambda{reload},
        "screen" => lambda{send("<Cmd-Shift-3>")}
       )
    end

The input method takes an optional hash, where if the user input matches a key the corresponding block is ran.