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

Update custom key bindings example #638

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sigmaSd
Copy link
Contributor

@sigmaSd sigmaSd commented Jun 17, 2022

In my testing selfinsert doesn't seem to work, it inserts one white-space character instead of an actual tab, changing it to insert makes it work perfectly.

In my testing selfinsert doesn't seem to work, it inserts one white-space character instead of an actual tab, changing it to insert makes it work perfectly.
@sigmaSd
Copy link
Contributor Author

sigmaSd commented Jun 21, 2022

I found that this example didn't work on windows, I added a fix but there is still a bug in rustyline where inserting a tab in windows inserts a tab but the cursor doesn't move, I added a workaround for it (inserting 4 spaces).

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

Successfully merging this pull request may close these issues.

1 participant