Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions prompt_toolkit/shortcuts/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,8 +700,8 @@ def _get_continuation(self, width):
return to_formatted_text(
prompt_continuation, style='class:prompt-continuation')

def _get_arg_text(self, app):
arg = app.key_processor.arg
def _get_arg_text(self):
arg = self.app.key_processor.arg
if arg == '-':
arg = '-1'

Expand Down