Skip to content

Preload size issue #2480

@valoq

Description

@valoq

Sometime text files are shown in the preview only in parts, with the lower half if the lf preview pane being empty.
This appears to be caused by a race condition between the terminal size and lf, where the preload feature runs before the full size has been reached. Consequently it only happens to files that are in the startup directory.

It also does not happen reliably. I noticed recently there were more cases of the lf borders being drawn halfway across the terminal at startup, which may indicate that some changes lead to a slower startup or perhaps its a terminal issue. I will look further into it.

Not sure how to best solve this though

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