summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/curses/textpad.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/curses/textpad.py b/Lib/curses/textpad.py
index 97ee36b..0a53690 100644
--- a/Lib/curses/textpad.py
+++ b/Lib/curses/textpad.py
@@ -88,7 +88,7 @@ class Textbox:
self.win.delch()
elif ch == ascii.ENQ: # ^e
if self.stripspaces:
- self.win.move(y, self.firstblank(y, maxx))
+ self.win.move(y, self.firstblank(y))
else:
self.win.move(y, self.maxx)
elif ch in (ascii.ACK, curses.KEY_RIGHT): # ^f