-
Notifications
You must be signed in to change notification settings - Fork 715
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
Tab not displayed properly #556
Comments
Hi @woile, Excuse me for the late reply. I just got married, and I've been offline for a while. This is not really supported yet. For the input itself, it works, because the TabsProcessor is handling that: |
Congratulations @jonathanslenders ! I'll try calculating tabs, let's see if it's possible. |
Closing this, assuming it's possible by replacing the tabs with spaces. Let me know if that doesn't work. |
Worth noting that correctly replacing a tab with spaces isn't entirely trivial. Maybe there's a clever regex that can do it. It also wouldn't be the same when the text is copied from the terminal. The (just my observations, I personally don't care if prompt-toolkit can handle literal tab characters or not) |
Hi guys, I'm trying to add a tab
\t
to the prompt but it doesn't seem to work. I might be missing something here, is there a way to solve this?I've also tried the unicode representation:
On the other hand
\n
works fineSorry if it's something silly, I've been searching in google and reading the docs and I cannot find anything.
Thanks a lot!
The text was updated successfully, but these errors were encountered: