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:
+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()
|
||||
|
||||
Reference in New Issue
Block a user