code: def _backspaced_single_line_animation(animation_, *args, **kwargs):
      
      animation_gen = animation_(*args, **kwargs)
      yield next(animation_gen)  # no backing up on the first frame
      yield from util.concatechain(
          util.BACKSPACE_GEN(kwargs['width']), animation_gen)
docs: Turn an animation into an automatically backspaced animation.
  
      Args:
          animation: A function that returns a generator that yields
          strings for animation frames.
          args: Arguments for the animation function.
          kwargs: Keyword arguments for the animation function.
      Returns:
          the animation generator, with backspaces applied to each but the first
          frame.