8000 Ctrl-C overwrites multi-line prompt · Issue #3537 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Ctrl-C overwrites multi-line prompt #3537

@karate

Description

@karate

fish version installed (version 2.4.0):

OS/terminal used: Fedora 24, gnome-terminal

When using a multi-line prompt, pressing ctrl-c will not preserve previously written command

Reproduction steps

  1. Change fish_prompt function to show newlines
function fish_prompt
  echo (whoami)@(hostname)
  echo '$ '
end
  1. Re-run fish, and type asdfasdf[CTRL-C]

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

      0