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
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