focused

abstract val focused: StateFlow<Boolean>(source)

True when this terminal surface has focus, false when it does not. The default is true, and will only change if Capabilities.focusEvents is true.