Similar to a terminal of your OS, there are some keyboard shortcuts in Mainsail that make your everyday life easier.
HELP command to get a list of possible commands.
You can start typing a command and then complete it with the tab-key. If there are several possibilities, you will get a list of choices.
Using the ↑ up / ↓ down arrow keys you can scroll through previous commands.