When using the history feature from #27, the history isn't shown until the *second* keypress, regardless of whether it's up or down.
When using the history feature from #27, the history isn't shown until the second keypress, regardless of whether it's up or down.