@@ -51,10 +51,15 @@ bool _closable; #endif bool _atEndOfStream; } +/*! + * @brief Whether there is an underlying terminal. + */ +@property (readonly, nonatomic) bool hasTerminal; + /*! * @brief The number of columns, or -1 if there is no underlying terminal or * the number of columns could not be queried. */ @property (readonly, nonatomic) int columns;