def _refresh_history(game, history):
    """Refresh the game history section of the screen."""
    history.clear()
    history.border()
    row = 1
    for entry in game.history[-9:]:
        history.addstr(row, 2, '%s' % entry)
        row += 1
    history.refresh()
