Skip to content

Commit b66a29f

Browse files
Use kwarg for request_undo_callback to fix undo.
1 parent 87a85df commit b66a29f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/curtsies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def interrupting_refresh(self):
7474
return self._interrupting_refresh_callback()
7575

7676
def request_undo(self, n=1):
77-
return self._request_undo_callback(n)
77+
return self._request_undo_callback(n=n)
7878

7979
def get_term_hw(self):
8080
return self.window.get_term_hw()

0 commit comments

Comments
 (0)