mirror of
https://github.com/kennethreitz-archive/bpython-gist.git
synced 2026-06-05 23:50:18 +00:00
KeyboardInterrupt clears list win properly now
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
v0.6.4
|
||||
======
|
||||
KeyboardInterrupt handler clears the list window properly now.
|
||||
|
||||
v0.6.3
|
||||
======
|
||||
Forgot to switch rpartition to split for 2.4 compat.
|
||||
|
||||
+3
-1
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
# bpython 0.6.3::fancy curses interface to the Python repl::Bob Farrell 2008
|
||||
# bpython 0.6.4::fancy curses interface to the Python repl::Bob Farrell 2008
|
||||
#
|
||||
# The MIT License
|
||||
#
|
||||
@@ -792,6 +792,8 @@ class Repl( object ):
|
||||
except KeyboardInterrupt:
|
||||
self.statusbar.message('KeyboardInterrupt')
|
||||
self.scr.addstr('\n')
|
||||
self.scr.touchwin()
|
||||
self.scr.refresh()
|
||||
continue
|
||||
|
||||
self.scr.redrawwin()
|
||||
|
||||
@@ -31,7 +31,7 @@ PYTHONLIB = os.path.join(get_python_lib(standard_lib=1, prefix=""),
|
||||
"site-packages")
|
||||
|
||||
setup(name="bpython",
|
||||
version = "0.6.3",
|
||||
version = "0.6.4",
|
||||
description = "Fancy Interface to the Python Interpreter",
|
||||
author = "Robert Anthony Farrell",
|
||||
author_email = "robertanthonyfarrell@gmail.com",
|
||||
|
||||
Reference in New Issue
Block a user