Skip to content

Disable filename completion on tab #8

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

Merged
merged 1 commit into from
Aug 12, 2023

Conversation

MaxGyver83
Copy link
Contributor

@MaxGyver83 MaxGyver83 commented Aug 5, 2023

Pasting a tab-indented function definition into TermiC lets it print all files in /tmp/. The reason is that "tab" is (usually) bound to menu-complete (in bash) and this function is called when readline sees a tab, no matter if the tab key is pressed or tab characters are part of some pasted text.

I suppose that tab completion is more often triggered unintentionally than it is used on purpose while entering C/C++ code. This is why I propose to disable it.

@hanoglu hanoglu merged commit 066fb2a into hanoglu:main Aug 12, 2023
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.

2 participants