def location_prompt(location, msg='WEAthER'):
    """
    Prompt user to display weather or forecast.
    """
    from x84.bbs import getterminal, echo
    term = getterminal()
    echo(u''.join((u'\r\n\r\n', term.yellow(u'Display %s for ' % (msg,)),
        term.bold('%(city)s, %(state)s' % location), term.yellow(' ? '),
        term.bold_yellow(u'['), term.underline_yellow(u'yn'), term.
        bold_yellow(u']'), u': ')))
    while True:
        inp = term.inkey()
        if inp.lower() in (u'n', 'q', '\x1b'):
            return False
        elif inp.lower() in (u'y', u' ', u'\r', u'\n'):
            return True
