about summary refs log tree commit diff stats
path: root/src/io/buffer.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-02-12 13:03:05 +0100
committerbptato <nincsnevem662@gmail.com>2022-02-12 13:03:05 +0100
commit233688e5c7c8f35366a02673e04dad2e527897e1 (patch)
tree18a3b0b72ccee8b56966b802f720d93208e41b1d /src/io/buffer.nim
parent8544e90b85e50e9ae01950c47f7102b8d33242a4 (diff)
downloadchawan-233688e5c7c8f35366a02673e04dad2e527897e1.tar.gz
Remove some unused variables
Diffstat (limited to 'src/io/buffer.nim')
-rw-r--r--src/io/buffer.nim4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/io/buffer.nim b/src/io/buffer.nim
index 8592b98f..f85def2c 100644
--- a/src/io/buffer.nim
+++ b/src/io/buffer.nim
@@ -221,9 +221,6 @@ func getClickable(node: Node): Element =
       return element
   return node.findAncestor(ClickableElements)
 
-func getCursorLink(buffer: Buffer): Element =
-  return buffer.currentDisplayCell().node.getLink()
-
 func getCursorClickable(buffer: Buffer): Element =
   return buffer.currentDisplayCell().node.getClickable()
 
@@ -338,7 +335,6 @@ proc refreshDisplay(buffer: Buffer) =
     inc y
 
 proc setCursorXB(buffer: Buffer, byte: int) =
-  var r: Rune
   var w = 0
   var b = 0
   while b < byte: