Using Shell

When using a shell.write command, can anyone help me with the correct syntax for sending a left-arrow keystroke (or right-arrow for that matter) ?

Thanks in advance,

Ralph.

I should have thought to ask my best friend Mr Google first :slight_smile:

For anyone else searching for the same information (for a mode 2 interactive shell), the answer is:

// Left arrow
Shell.write chr(27) + "[D"

// Right arrow
Shell.write chr(27) + "[C"