Giter VIP home page Giter VIP logo

Comments (11)

matchai avatar matchai commented on May 26, 2024 1

With the package and git status modules, I was still unable to encounter the same bug.

What causes your prompt to show the time on the right-hand side? I can imagine that that could be a source of problems.

from starship.

matchai avatar matchai commented on May 26, 2024 1

Closing this issue as it was caused by omf.

from starship.

matchai avatar matchai commented on May 26, 2024 1

@pseudo-su I had some planned refactoring around the way configuration works, so I quickly included configuration for add_newline in the process: #116

from starship.

pseudo-su avatar pseudo-su commented on May 26, 2024 1

For any future people having the same problem, fastest way to solve the problem was to use a different omf theme that doesn't have the subtle timestamp hanging off to the right of the prompt (that is part of the default theme)
I used the pure theme.

> omf install pure
> omf theme pure

@pseudo-su I had some planned refactoring around the way configuration works, so I quickly included configuration for add_newline in the process: #116

🎉 I've installed this branch and it's working a treat, thanks

from starship.

pseudo-su avatar pseudo-su commented on May 26, 2024

The other question I have is if/how I can remove the extra line between prompts in starship (I think I used SPACEFISH_PROMPT_ADD_NEWLINE=false with spacefish).

Super excited by this library/project btw 👌🎉

from starship.

matchai avatar matchai commented on May 26, 2024

I have unfortunately been unable to reproduce this bug with the same configuration on Alacritty (without OMF though). Is it possible that it is caused by anything in your Alacritty config?

The other question I have is if/how I can remove the extra line between prompts in starship (I think I used SPACEFISH_PROMPT_ADD_NEWLINE=false with spacefish).

That will absolutely be coming soon. For the time being it's hard-coded, but we will be building out more configuration options for the coming releases. 🙂

Super excited by this library/project btw 👌🎉

We are too! 😄🙌

from starship.

pseudo-su avatar pseudo-su commented on May 26, 2024

It's not just alacrity, I installed iTerm2 to test and it also happens there.
Possibly it's something to do with one of these? (they differ from yours/my screenshot).

  • The module that's displaying the package info (in mine it's is 📦 v0.0.1)
  • the working changes section of the the git module ([!+]/[!?])

I might try and look at a bit more into it today

from starship.

pseudo-su avatar pseudo-su commented on May 26, 2024

I... actually don't know, I'll look into that 😅

from starship.

pseudo-su avatar pseudo-su commented on May 26, 2024

Looks like you're right... Temporarily disabling omf seemed to fix the issue.

I don't know what plugin is causing it yet, but I have the following installed
omf list

from starship.

pseudo-su avatar pseudo-su commented on May 26, 2024

If I was to look into adding the equivalent of SPACEFISH_PROMPT_ADD_NEWLINE support how/where would you want me to do it?

from starship.

matchai avatar matchai commented on May 26, 2024

This is where the new line is currently added:
https://github.com/starship/starship/blob/master/src/print.rs#L30-L31

The config value can be extracted from context.config at that point.

from starship.

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.