about summary refs log tree commit diff stats
path: root/src/io/buffer.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-08-03 20:27:13 +0200
committerbptato <nincsnevem662@gmail.com>2022-08-03 20:27:13 +0200
commit7f537f7991c384fd88fb1fecf6aa5c05edb6baee (patch)
treeec54215734fb56f283348dbd752823ae7bd329b6 /src/io/buffer.nim
parent46b749e8372b018e73aacc50e908dc96155bcaf8 (diff)
downloadchawan-7f537f7991c384fd88fb1fecf6aa5c05edb6baee.tar.gz
Slightly better handling of http auth + redirect
Diffstat (limited to 'src/io/buffer.nim')
-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