how to repeat last command in OCaml interpreter shell

Viewed 5844

I've been trying out OCaml. Sometimes its quicker just to test out some code using the interpreter shell but, it doesn't bring up the last command when I press the 'up' key.

Its a pain when I miss type something or wish to see what a little variation would produce.

Anyone know if there is another key for it?

Thanks,

3 Answers

I used ctrl + arrow up for previous input

Related