
28 Sep
2014
28 Sep
'14
3:42 a.m.
Hi, I'm trying to implement the arrow key functionality for a systemf REPL to recall previously entered lines. I think I should save the previous lines in a list and then traverse through the list when an arrow key is pressed, but I'm no sure how to detect an arrow key and implement this functionality. Can anyone give a brief description about the implementation or point me to some other resources? Thanks! Emma