Question: Is there a way to recall/repeat previous commands using a shortcut?

When I was programming on Python, the "up arrow" key could copy a previous command line that I have entered, but I'm not sure if such a shortcut exists in Maple.

For example:

INPUT: 2+2

OUTPUT: 4

Presses "up arrow key"

2+2

 

 

Thanks,

Please Wait...