Skip to content

Commit af2ec4e

Browse files
add_to_history was renamed to append_to_history in prompt-toolkit.
1 parent efaed43 commit af2ec4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ptpython/key_bindings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def at_the_end(b):
134134
text=b.text.rstrip(),
135135
cursor_position=len(b.text.rstrip()))
136136

137-
b.add_to_history()
137+
b.append_to_history()
138138
event.cli.set_return_value(b.document)
139139
else:
140140
auto_newline(b)

0 commit comments

Comments
 (0)