Skip to content

Commit 708064f

Browse files
committed
isatty method in DebugOutput class for better compability
1 parent 57b0dd8 commit 708064f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/PythonEngine.pas

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4836,6 +4836,8 @@ procedure TPythonEngine.DoRedirectIO;
48364836
' return self.pyio.read(size)'+LF+
48374837
' def flush(self):' + LF +
48384838
' pass' + LF +
4839+
' def isatty(self):' + LF +
4840+
' return True' + LF +
48394841
'sys.old_stdin=sys.stdin'+LF+
48404842
'sys.old_stdout=sys.stdout'+LF+
48414843
'sys.old_stderr=sys.stderr'+LF+

0 commit comments

Comments
 (0)