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

Switching to another tab using Ctrl-Tab triggers shell autocomplete #87

Open
matteodelabre opened this issue Feb 16, 2017 · 0 comments
Open

Comments

@matteodelabre
Copy link

Expected behavior

While in a term3 tab, switching to another tab using Ctrl-Tab should leave the terminal in the same state.

Actual behavior

While in a term3 tab, if you press Ctrl-Tab to switch to another tab and then come back to the terminal tab, the shell autocomplete is triggered. I’m guessing this is because the terminal tab somehow “swallows” the Tab from the Ctrl-Tab shortcut.

This is quite hard to notice in Bash as autocomplete is only triggered if you start typing text and hit Tab twice. However, other shells such as Fish trigger it even when nothing is typed and upon the first press on Tab, so this bug can be annoying.

Here is a short illustration for the problem:

term3-ctrl-tab-issue

Steps to reproduce

Using Bash:

  1. Open a term3 tab and at least one other tab in Atom.
  2. Start typing a command (for example, ex).
  3. Hit Tab once; notice that autocomplete is not yet triggered.
  4. Switch to another tab using Ctrl-Tab.
  5. Come back to the term3 tab (either by clicking the tab or via a keyboard shortcut).
  6. Autocomplete was triggered while you switched to the other tab.
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