Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FuzzyWordCompleter strange behaviour (blank space in the bottom) #1896

Open
enty8080 opened this issue Jul 21, 2024 · 0 comments
Open

FuzzyWordCompleter strange behaviour (blank space in the bottom) #1896

enty8080 opened this issue Jul 21, 2024 · 0 comments

Comments

@enty8080
Copy link

enty8080 commented Jul 21, 2024

Hello,

I've noticed that when you try to use FuzzyWordCompleter with PromptSession it causes prompt not to reach the bottom of the terminal window and stop at some point leaving large blank space.

s = PromptSession(complete_while_typing=True, completer=FuzzyWordCompleter(['a']))

while True:
    text = s.prompt('console> ', bottom_toolbar="This is a toolbar")

result:

Screenshot 2024-07-21 at 23 10 42

As you can see, when the prompt reaches some point it stops leaving blank space in the bottom.

Let me know if it is a normal behaviour.

Kind regards,
Ivan Nikolskiy (@enty8080)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant