Use this decorator to override an attribute that is specified in
    blessings' sugar dict with your own function that adds some additional
    functionality.

def _override_sugar(func):
    '''Use this decorator to override an attribute that is specified in
    blessings' sugar dict with your own function that adds some additional
    functionality.
    '''
    attr_name = func.__name__
    @property
    @wraps(func)
    def func_that_uses_terminal_sugar(self):
        func(self)
        return self.__getattr__(attr_name)
    return func_that_uses_terminal_sugar