summaryrefslogtreecommitdiff
path: root/lua/telescope/make_entry.lua
diff options
context:
space:
mode:
authorMichaƂ Nowotnik <michal@mnowotnik.com>2021-05-11 18:16:04 +0000
committerGitHub <noreply@github.com>2021-05-11 20:16:04 +0200
commit22a78a46364b1e79549267c9365a31684689ed08 (patch)
tree8ab3f1d5920cba14a0978d775ead6822f930dfbf /lua/telescope/make_entry.lua
parent6dc69f46f65babe052981b64576cd7b21e26bab0 (diff)
fix: prevents flickering when first loading a buffer preview entry (#797)
There's a slight lag on the first preview loading (during preview buffer creation). It is not visible the next time user chooses a file for preview because scratch buffer for the file already exists. This lag *and* setting preview window to display the newly created buffer before its fully initialized causes a brief flash of blank terminal background. This change delays setting preview window to display the new preview buffer and consequently eliminates the flash. It should improve user experience since flickering can be distracting.
Diffstat (limited to 'lua/telescope/make_entry.lua')
0 files changed, 0 insertions, 0 deletions