• Function that is useful when you want to check the last frame of a component that unmounted.

    With Ink 6 / React 19, the output is no longer cleared on unmount, so lastFrame() consistently returns the last rendered content.

    Parameters

    • renderInstance: Instance

    Returns undefined | string