Skip to content

commandline -f repaint not responding to function handlers #8088

@IlanCosman

Description

@IlanCosman

fish, version 3.3.0-2-g210dda2c4

This is a regression from 3.2.2. Tested on Arch Linux and macOS.

function fish_prompt
    echo $PWD $foo
end

function on_foo --on-variable foo
    commandline -f repaint
end

The prompt will not update automatically, but pressing any key will update it.

repaint-not-working.mp4

The issue must be with repainting and not --on-variable, because this works:

function on_foo --on-variable foo
    echo $foo
end
on-variable-working.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions