about summary refs log tree commit diff stats
path: root/src/io
diff options
context:
space:
mode:
Diffstat (limited to 'src/io')
-rw-r--r--src/io/buffer.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/io/buffer.nim b/src/io/buffer.nim
index 479297d5..0e50d5fe 100644
--- a/src/io/buffer.nim
+++ b/src/io/buffer.nim
@@ -1245,7 +1245,9 @@ proc refreshBuffer*(buffer: Buffer, peek = false) =
     buffer.displayBuffer()
     buffer.redraw = false
 
-  buffer.updateHover()
+  if not peek:
+    buffer.updateHover()
+
   if buffer.reshape:
     buffer.render()
     buffer.reshape = false