Commit b28c85cc authored by Javier Hernández's avatar Javier Hernández

ipython: seek to 0 after truncating stdout

We need this to leave the stdout ready to be used again
parent 7abc7647
......@@ -600,7 +600,8 @@ class IPythonView(ConsoleView, IterableIPShell):
if rv: rv = rv.strip('\n')
self.showReturned(rv)
self.cout.truncate(0)
self.cout.seek(0)
if __name__ == "__main__":
window = gtk.Window()
window.set_default_size(640, 320)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment