diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-20 13:07:24 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-20 13:07:24 -0400 |
commit | da0f95d72656b46b374d66948c68d4055fed218c (patch) | |
tree | fe25c7258c505752b5de58760b562439c50662e8 /cmd2/utils.py | |
parent | c2f52bf6526f746a595e368d61504d898156d3e0 (diff) | |
download | cmd2-git-da0f95d72656b46b374d66948c68d4055fed218c.tar.gz |
Updated ppaged to not use self.pipe_proc
Diffstat (limited to 'cmd2/utils.py')
-rw-r--r-- | cmd2/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
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] |