Instead of adding this property to VT100Terminal, add a method the PTYTextViewDataSource protocol exposing it. VT100Screen implements that protocol, and the test is simply if currentGrid_ == altGrid_.