Skip to content

tab completion glitch with multiline prompts #3693

@nhooyr

Description

@nhooyr
  • Have you checked if problem occurs with fish 2.4.0?
  • Tried fish without third-party customizations (check sh -c 'env HOME=$(mktemp -d) fish')?

fish version installed (fish --version): 2.3.1

OS/terminal used: macOS 10.12.2, iTerm2 3.0.13

  1. sh -c 'env HOME=$(mktemp -d) fish'
  2. funced fish_prompt
  3. Append echo -e \n at the end of the function
  4. Type some gibberish into the command like dsaiojadsiojdsiaolzmxnwiewrti, make sure it is enough text so that it extends past the prompt above.

screen shot 2017-01-02 at 3 33 14 pm

  1. Press tab to complete.

screen shot 2017-01-02 at 3 33 25 pm

if the prompt is single lined, the above glitch does not occur.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions