mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
completers: ptk: Correct PTK Completion construction
This commit is contained in:
parent
a0439bd35f
commit
c7cced30ad
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class PromptToolkitCompleter(Completer):
|
|||
comp,
|
||||
-comp.prefix_len if comp.prefix_len is not None else -l,
|
||||
display=comp.display,
|
||||
display_meta=comp.description,
|
||||
display_meta=comp.description or None,
|
||||
)
|
||||
else:
|
||||
disp = comp[pre:].strip("'\"")
|
||||
|
|
Loading…
Add table
Reference in a new issue