diff --git a/release/scripts/modules/bpy/__init__.py b/release/scripts/modules/bpy/__init__.py index 8f6bada6561..f0025290f09 100644 --- a/release/scripts/modules/bpy/__init__.py +++ b/release/scripts/modules/bpy/__init__.py @@ -50,6 +50,13 @@ def _main(): if not app.debug: _sys.stdin = None + # because of how the console works. we need our own help() pager func. + # replace the bold function because it adds crazy chars + import pydoc + pydoc.getpager = lambda: pydoc.plainpager + pydoc.TextDoc.bold = lambda self, text: text + + # if "-d" in sys.argv: # Enable this to measure startup speed if 0: import cProfile