Get last command

Help
LeO
2014-01-23
2014-01-23
  • LeO
    LeO
    2014-01-23

    Hi,

    since I a relative noob to Haskell I wanna test little bit more, even the most trival samples. Therefore I thought I wanna reuse my last command (in the ghci-session =Console). I am used to get it everywhere with the arrow-up, but this moves only the cursor in the ghci-session.

    Is there a way to achieve this?

     
    Last edit: LeO 2014-01-23
  • JP Moresmau
    JP Moresmau
    2014-01-23

    Eclipse doesn't allow the up arrow to be mapped in the console, but there is an icon on the top right of the console called "command history" that gives you the last few typed commands.