wantsNativeFrames property

  1. @override
bool get wantsNativeFrames
override

Whether this interceptor needs native cell snapshots after each render.

Capturing native frames is intentionally opt-in because it snapshots the whole terminal cell buffer and can dominate render-heavy workloads.

Implementation

@override
bool get wantsNativeFrames {
  for (final s in _stack) {
    if (s.interceptor?.wantsNativeFrames ?? false) return true;
  }
  for (final b in _base) {
    if (b.wantsNativeFrames) return true;
  }
  return false;
}