Apply these Attrs to the given fansi.Str, making it take effect across the entire length of that string.
Apply the current Attrs to the Str.State integer, modifying it to represent the state after all changes have taken effect