Git Product home page Git Product logo

Comments (6)

rafaelrinaldi avatar rafaelrinaldi commented on August 30, 2024 1

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.

edouard-lopez avatar edouard-lopez commented on August 30, 2024

@heyarne
Could you paste the content of the line seen above so we can try to reproduce?

from pure.

heyarne avatar heyarne commented on August 30, 2024

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.

edouard-lopez avatar edouard-lopez commented on August 30, 2024

I can't reproduce on either Terminus nor Yakuake terminal. Could you try:

  1. to simplify your config to narrow down the issue.
  2. use git commit instead of the alias
  3. look for conflicting auto-completiong methods.

from pure.

rafaelrinaldi avatar rafaelrinaldi commented on August 30, 2024

@heyarne This looks like a GUI/Font issue. What terminal application are you using? Is your Fira Mono patched for Powerline?

from pure.

heyarne avatar heyarne commented on August 30, 2024

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:

screen shot 2018-01-03 at 17 54 37

When I delete the last backspace this is the result:

screen shot 2018-01-03 at 17 56 05

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:

screen shot 2018-01-03 at 17 56 52

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:

screen shot 2018-01-03 at 17 54 09

Well.. yea. So pretty sure it's related to Terminal.app. Can anybody else reproduce this?

from pure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.