From d5635ab400e0ebced79f52766e51498363352fa4 Mon Sep 17 00:00:00 2001 From: Bob Farrell Date: Thu, 3 Jul 2008 12:19:53 +0100 Subject: [PATCH] KeyboardInterrupt clears list win properly now --- CHANGELOG | 4 ++++ bpython.py | 4 +++- setup.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index c35f3d5..1592084 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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. diff --git a/bpython.py b/bpython.py index a2c19b9..bda646d 100644 --- a/bpython.py +++ b/bpython.py @@ -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() diff --git a/setup.py b/setup.py index 6365ea3..4d29e9f 100644 --- a/setup.py +++ b/setup.py @@ -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",