From 23f7b81b64c29888a3d6dd699456c149a730ef19 2016-07-25 11:17:15 From: Thomas Kluyver Date: 2016-07-25 11:17:15 Subject: [PATCH] Don't change terminal title for embedded IPython This seems like a sensible default when we're just part of someone else's program. Closes gh-9722 --- diff --git a/IPython/terminal/embed.py b/IPython/terminal/embed.py index 1d16711..892a6af 100644 --- a/IPython/terminal/embed.py +++ b/IPython/terminal/embed.py @@ -70,6 +70,11 @@ class InteractiveShellEmbed(TerminalInteractiveShell): display_banner = CBool(True) exit_msg = Unicode() + # When embedding, by default we don't change the terminal title + term_title = Bool(False, + help="Automatically set the terminal title" + ).tag(config=True) + _inactive_locations = set() @property