Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 71f7729

Browse files
nsmaciejCarreau
authored andcommitted
Restore terminal title when not running non-interactively
1 parent 033545a commit 71f7729

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

IPython/terminal/ipapp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ def start(self):
318318
self.shell.mainloop()
319319
else:
320320
self.log.debug("IPython not interactive...")
321+
self.shell.restore_term_title()
321322
if not self.shell.last_execution_succeeded:
322323
sys.exit(1)
323324

0 commit comments

Comments
 (0)