<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm trying to implement the arrow key functionality for a systemf REPLĀ <span style="color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:17.8048000335693px">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.</span></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:17.8048000335693px">Can anyone give a brief description about the implementation or point me to some other resources?</span></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:17.8048000335693px">Thanks!</span></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:17.8048000335693px"><br></span></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:17.8048000335693px">Emma</span></font></div></div>