about summary refs log tree commit diff stats
path: root/text.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-04-03 08:33:07 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-04-03 08:33:07 -0700
commit282983d0848db077c0dd6400a6f29b34f78f5806 (patch)
treef5711ef3ebc3eb83280d566a13d91f0577971dab /text.lua
parent95342345a827616c9f5fa7c914c02505d9e6ff4d (diff)
downloadlines.love-282983d0848db077c0dd6400a6f29b34f78f5806.tar.gz
switch source side to new screen-line-based render
Also copy over the implementation of links from pensieve.love.
Diffstat (limited to 'text.lua')
-rw-r--r--text.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/text.lua b/text.lua
index 758c572..f811a76 100644
--- a/text.lua
+++ b/text.lua
@@ -69,7 +69,6 @@ function Text.draw_cursor(State, x, y)
   if math.floor(Cursor_time*2)%2 == 0 then
     App.color(Cursor_color)
     love.graphics.rectangle('fill', x,y, 3,State.line_height)
-    App.color(Text_color)
   end
   State.cursor_x = x
   State.cursor_y = y+State.line_height