From da0f95d72656b46b374d66948c68d4055fed218c Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Wed, 20 Mar 2019 13:07:24 -0400 Subject: Updated ppaged to not use self.pipe_proc --- cmd2/utils.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmd2/utils.py') diff --git a/cmd2/utils.py b/cmd2/utils.py index d14ef90f..2db6a267 100644 --- a/cmd2/utils.py +++ b/cmd2/utils.py @@ -345,6 +345,10 @@ class StdSim(object): """Clear the internal contents""" self.buffer.byte_buf = b'' + def isatty(self) -> bool: + """StdSim will never be considered an interactive stream""" + return False + def __getattr__(self, item: str): if item in self.__dict__: return self.__dict__[item] -- cgit v1.2.1