Skip to content

fish_right_prompt sometimes triggers extraneous new line #4306

Closed

Description

@thorstenkampe

Fish 2.6.0

A newline appears in the prompt when using the native Windows terminal or ConEmu (see screenshot) in connection with fish_right_prompt (but not fish_prompt). It does not appear with the native Cygwin terminal emulator MinTTY.

There were a few issues regarding fish_prompt and ConEmu but they seem to have been fixed. Is this a known issue?
image

Activity

  1. faho commented on Aug 10, 2017

    @faho
    Member

    This is not just an issue with ConEmu, it also happens with VTE-based terminals (GNOME-Terminal etc). #4243 does not fix it.

    I don't think we have another issue tracking it, so let's keep it here!

  2. added
    bug
    on Aug 10, 2017
  3. added this to the fish-future milestone on Aug 10, 2017
  4. changed the title [-]Newline in prompt on native Windows terminal[/-] [+]fish_right_prompt sometimes triggers extraneous new line[/+] on Aug 19, 2017
  5. faho commented on Nov 27, 2017

    @faho
    Member

    @thorstenkampe: Can you test #4554?

  6. thorstenkampe commented on Nov 28, 2017

    @thorstenkampe
    Author

    Sorry, not sure how to do that. Check out your git branch and then compile it under Cygwin?

  7. faho commented on Nov 28, 2017

    @faho
    Member

    Check out your git branch and then compile it under Cygwin?

    Yes. See our instructions for building from source. I think that should just work under cygwin, but I'm not experienced with it.

    And if you can't do it or don't have the time that's alright as well, I'd just love for that PR to have some testing, and cygwin is an interesting system (I have no idea how the text encoding stuff works there).

  8. added a commit that references this issue on Mar 13, 2018
    c832724
  9. added a commit that references this issue on Mar 25, 2018
    ad5bbeb
  10. added a commit that references this issue on Mar 26, 2018
    dbe6486
  11. modified the milestones: fish-future, fish-3.0 on Sep 15, 2018
  12. locked as resolved and limited conversation to collaborators on Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions