mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-30 21:14:20 +01:00
init.py: Added isatty() to the dummy stdout file object
This commit is contained in:
parent
40846fe7c9
commit
04af0d20f5
@ -79,6 +79,8 @@ class MyStdOut:
|
|||||||
def flush(self):
|
def flush(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def isatty(self):
|
||||||
|
return False
|
||||||
|
|
||||||
# Redirect stderr and stdout to the IDA message window
|
# Redirect stderr and stdout to the IDA message window
|
||||||
sys.stdout = sys.stderr = MyStdOut()
|
sys.stdout = sys.stderr = MyStdOut()
|
||||||
|
Loading…
Reference in New Issue
Block a user