Navigate history in console.

Closes #219.