Skip to content

Brief flash of symbol '⏎' between prompts #12476

Description

@zx8

Using 3e7e579


I keep seeing a character briefly flash and disappear between prompts, even when just hitting enter:

Image

I think it was introduced recently, or something in my prompt has slowed down to the point I am actually noticing it now.

Take this with a pinch of salt, but here's what AI thinks happened:

commit 74d2e6d ("Rip support for terminfo database", Feb 9, 2026) changed abandon_line_string from using a Vec<u8> buffer to an Outputter. In doing so, the abandon_line_string.write_command(ClearToEndOfLine) call was dropped. The comment describing the clear was preserved but the actual escape sequence was not. This left a non-dim at column 0 that persists until the prompt finishes computing and paints over it.

Suggested fix is to add abandon_line_string.write_bytes(b"\x1b[K"); before line

abandon_line_string.take_contents()

I applied this suggested fix myself and re-compiled fish and it does seem to fix it, but since I have no idea what I'm doing, I thought I'd leave it to the maintainers to decide the way forward here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions