[IPython-dev] [RFC] I want to fix some behaviour. Hints needed
bialix at ukr.net
Thu Jan 12 17:43:31 CST 2006
I use IPython on Windows in separate console or sometimes from FAR (file
manager) console. And I massively use edit magic feature to make my life
easier. For editing I use console test editor FTE (http://fte.sf.net).
FTE usually change title string of console window with their own string
something like this:
FTE - ipython_edit_hghfjd.py - [full path to file]
After closing FTE and returning to IPython title string of console
window remains the same as when FTE invoked. It's slightly not
good-looking for me and I willing to fix this.
Here proposed code for changing title of console window to IPython after
editing (probably this code should also be executed and when console
# after editor closed set title of console window to 'IPython'
if sys.platform == "win32":
import win32api # part of Mark Hammond's pywin32 package
Do you add this code to appropriate place of magic_edit methods or give
me the hint where it should be so I'll create the patch? I use IPython
only as console application but I hear that IPython also support some
sort of GUI mode. In this case proposed code for changing title should
not be executed when IPython in GUI mode.
What you think about?
More information about the IPython-dev