Skip to content

Prompt overwrites last displayed line when catting file without trailing newline #46

@woutgg

Description

@woutgg

When using cat to display a file without trailing newline, the last line can (sometimes) be seen very briefly and is then overwritten by the (left-)prompt.

Perhaps a non-empty line could be detected in which case the prompt either does not clear the line, or emits a newline first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions