Comments (6)
This is a fish issue. See: fish-shell/fish-shell#2652
Closing this issue for now. Feel free to open a new one if I missed something or submit a PR with a fix.
from pure.
@heyarne
Could you paste the content of the line seen above so we can try to reproduce?
from pure.
I'm not quite sure I get the request. The output is:
gc -am 'Make naammes of all communities unique (😐) and re-run the notebook'
The suggestion appeared as soon as i had typed Make n
. Every following letter (I typed a
and m
) is duplicated, with the first one being the grey one from the suggestion, the second one being "the one that i typed". This happens for every following letter that's in the autocomplete-suggestion. If I type gc -am 'Make naz
the output is gc -am 'Make naamz
. I can backspace this until the line says gc
, which corresponds to the two extra letters (a
and m
).
The original commit (gc is aliased to git commit
) was:
gc -am 'Make names of all communities unique (😐) and re-run the notebook'
from pure.
I can't reproduce on either Terminus nor Yakuake terminal. Could you try:
- to simplify your config to narrow down the issue.
- use
git commit
instead of the alias - look for conflicting auto-completiong methods.
from pure.
@heyarne This looks like a GUI/Font issue. What terminal application are you using? Is your Fira Mono patched for Powerline?
from pure.
I'm using Terminal.app 2.8 (400), the one shipping with macOS 10.13. A more minimal example:
# In any directory
git commit -m '🍾'
As soon as I type the closing '
it looks like this:
When I delete the last backspace this is the result:
This happens with different fonts, powerline-patched or not (I tried Menlo, Fira Mono, Fira Code, Monaco, Droid Sans Mono...). iTerm2 3.1.5 does not have the same problem (tested with Monaco / Fira Mono).
I'm pretty sure this is some off-by-one-error caused by the fact that emojis are rendered two characters wide. This is iTerm2 after the closing single quote:
See how the quote is behind the champagne bottle? Funny enough, when I first tried making the screenshot my terminal window was in a tabset. I pulled the tab to place it on its own window, getting the following result:
Well.. yea. So pretty sure it's related to Terminal.app. Can anybody else reproduce this?
from pure.
Related Issues (20)
- prompt character broken HOT 3
- Change git branch color HOT 3
- Add 🐍 to the virtualenv title so I know that's what I see HOT 9
- [request] Is there anyway to have the following prompt: $tail on $git_branch HOT 1
- Missing blank line between prompts? HOT 2
- Add CI for MacOS
- MacOS: warning: An error occurred while redirecting file '/proc/1/cgroup' HOT 26
- Prompt outputting _pure_is_inside_container 1 HOT 4
- head: cannot open '/proc/1/sched' for reading: No such file or directory HOT 6
- Prompt displays '2' character around user@host section HOT 1
- VI-mode visual mode prompt HOT 2
- Cannot uninstall 4.4.1 HOT 2
- WSL 1 shows user@hostname HOT 3
- Add kubernetes/k8s support HOT 1
- Is there any option in pure like truncation_length in starship? I want it to show last three parent folder. HOT 2
- 📖 Revamp README and docs
- Pure prompt contains newline in VSCode terminal HOT 3
- Improve `git` prompt during rebase conflicts HOT 6
- Add escape codes for shell integration (OSC 133)
- images are broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pure.