The core module readline's interface has a property terminal, which is accessible from the outside.
However, I couldn't find this property anywhere on the documentation for readline. I encountered it, because a package on npm internally used it. Maybe I overlooked the related part in documentation?
Is this property safe to use (part of the public API, someone forgot to add it), or do I have to duplicate the code producing the default on the outside, pass that in, and save the result?