question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Emoji in PROMPT is causing character duplication after pressing TAB

See original GitHub issue
  • 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 Mojave 10.14.3 (18D109)
  • Hyper.app version: 2.1.2 (stable)
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/jkulak/1633a8c0572aade642f050be97b1da76
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
  • The issue is reproducible in vanilla Hyper.app: yes

Issue

I am using Hyper.js and oh-my-zsh. My PROMPT has an emoji (which causes the issue).

When I type a part of a command and press TAB to complete the command - and I get a list of suggestions for completion, the first letter of my command gets duplicated. Typing ls and pressing TAB gives:

🦀 ~ lls
LSCOLORS   ls         lsa        lsappinfo  lsbom      lskq       lsm        lsmp       lsof       lsvfs

When I type dock and the only option to autocomplete is docker it works just fine, and pressing TAB shows 🦀 ~ docker. Pressing TAB again gives

🦀 ~ ddocker
docker                         docker-compose                 docker-credential-osxkeychain  docker-machine

Pressing enter runs docker command and not ddocker so it’s only a visual issue.

The issue occurs only with an emoji in the PROMPT. Issue doesn’t occur in iTerm nor in Terminal.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:14

github_iconTop GitHub Comments

3reactions
jkulakcommented, May 8, 2019

Still the same in Hyper.app version: 3.0.0 (stable)

1reaction
elegoscommented, Nov 6, 2019

@Stanzilla if the VSCode terminal uses xterm.js, it seems to be an xterm.js problem (same issue). I’m going to open a bug there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Emoji in PROMPT is causing character duplication ... - GitHub
I am using Hyper.js and oh-my-zsh. My PROMPT has an emoji (which causes the issue). When I type a part of a command...
Read more >
Zsh tab completion duplicating command name - Stack Overflow
I'm unsure what is causing this error, as when I resize the terminal window, the first instance of the command name disappears. If...
Read more >
Emoji viewer constantly popping up in input fields - Ask Different
From within the Keyboard tab, look for the label that reads Press "globe icon" to. It likely reads "Show Emoji & Symbols".
Read more >
Pressing lowercase e brings up emoji wind…
Click the Apple logo on the top right hand corner and go to "System Preferences..." Go to keyboard; Click the Shortcuts tab and...
Read more >
How to Fix the Most Annoying Things in Windows - PCMag
Prevent it from ever happening by hitting the Shift five times rapidly to bring up that very dialog box (or in Windows 10...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found