Skip to content

broken prompt for read in scripts #9227

@Wasja7

Description

@Wasja7

fish, version 3.5.1 on Arch Linux

Since the update to 3.5.0 the prompt behaves strangely when called with read in a script. Keybindings for cursor navigation like Ctrl+a or Ctrl+e don't work. In vi-mode the mode indicator always shows "[N]", changing the mode doesn't work at all.
This is easily reproducible by running fish -c 'read'. Calling read in an interactive mode doesn't have this problem.
Maybe this has something to do with #8797?

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionSomething that used to work, but was broken, especially between releases

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions