When using the console (~) you can press the up and down arrow keys to cycle through a list of recent commands or text messages. Pressing enter will resend this message or command on the spot.