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

Autocomplete causes command to be displayed twice #2328

Closed
2 tasks done
codeofsumit opened this issue Oct 4, 2017 · 8 comments
Closed
2 tasks done

Autocomplete causes command to be displayed twice #2328

codeofsumit opened this issue Oct 4, 2017 · 8 comments

Comments

@codeofsumit
Copy link

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: macOS High Sierra
  • Hyper.app version: Hyper 1.4.8 (stable)

Issue

hyper bug

When I press tab to autocomplete / choose a directory, the typed command is doubled. It still works but it’s wrong visually.
Using v1.4.8 but I have this since I started using hyper some months ago.

@TotomInc
Copy link

TotomInc commented Mar 5, 2018

Having the same issue... No status since october?

@mrpinkcat
Copy link

Me too... Did you found a fix ?

@chabou
Copy link
Collaborator

chabou commented Mar 5, 2018

Can you give us your LANG env var: echo $LANG

I fixed this issue with this workaround: #283 (comment)

@mrpinkcat
Copy link

fr.UTF-8

Thanks

@chabou
Copy link
Collaborator

chabou commented Mar 5, 2018

YES! We found this bug. I have no idea why LANG is wrongly set and how this side effect happens... But this is a real progress!

@TotomInc
Copy link

TotomInc commented Mar 5, 2018

Thanks @chabou, I've set my .zshrc to export my $LANG to fr_FR.UTF-8 and it now works fine!

@Hecsall
Copy link

Hecsall commented Mar 9, 2018

Same error and exporting the right LANG in my .zshrc solved the issue.
Just to write down for other people:

While having the issue, "echo $LANG" was printing
it.UTF-8

Then i added "export LANG=it_IT.UTF-8" at the bottom of my .zshrc file, restarted the terminal, and then "echo $LANG" printed
it_IT.UTF-8

After this the issue was solved

@chabou
Copy link
Collaborator

chabou commented Mar 9, 2018

@Hecsall Thank you for your confirmation 🎉

We need to enforce defaut right locales. There are some related but maybe outdated PRs.
But It should be definitely fixed soon without user action required

@chabou chabou closed this as completed Apr 16, 2018
chabou pushed a commit that referenced this issue Apr 27, 2018
chabou pushed a commit that referenced this issue Dec 15, 2018
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

5 participants