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:
- Created 5 years ago
- Reactions:7
- Comments:14
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Still the same in Hyper.app version: 3.0.0 (stable)
@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.