Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40ea617 commit fee3126Copy full SHA for fee3126
1 file changed
Lib/curses/textpad.py
@@ -66,10 +66,10 @@ def do_command(self, ch):
66
if y < self.maxy or x < self.maxx:
67
# The try-catch ignores the error we trigger from some curses
68
# versions by trying to write into the lowest-rightmost spot
69
- # in the self.window.
+ # in the window.
70
try:
71
self.win.addch(ch)
72
- except ERR:
+ except curses.error:
73
pass
74
elif ch == ascii.SOH: # ^a
75
self.win.move(y, 0)
0 commit comments