def pause(message='Press any key to continue…'):
    ''' Analogous to the ancient
        `DOS pause <https://en.wikipedia.org/wiki/List_of_DOS_commands#PAUSE>`_
        command, with a modifiable message.

        Arguments:
            message:  str

        Returns:
            str, None:  One character or ESC - depending on key hit.
            None - immediately under i/o redirection, not an interactive tty.
    '''
    key = None
    print(message, end=' ', flush=True)
    if is_a_tty():  # not sure if both of these should check
        key = wait_key()

    print()
    return key