Skip to content

Commit 72fc768

Browse files
Merge branch 'fix-432' into 0.13-bugfix
2 parents 27775bf + 10992f0 commit 72fc768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def on_enter(self, insert_into_history=True):
371371
self.highlighted_paren = None
372372

373373
self.rl_history.append(self._current_line)
374-
self.rl_history.last()
374+
self.rl_history.reset()
375375
self.history.append(self._current_line)
376376
line = self._current_line
377377
#self._current_line = ''

0 commit comments

Comments
 (0)