diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-09 13:20:05 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-09 13:20:05 -0700 |
commit | b418e60e6a4d4fa24d3b19c9485a98a4dbfe29da (patch) | |
tree | 26655f92f79568d46258a36a57d862cb04c46723 | |
parent | 7be2718f0f036dc5ad072ff4bd7ee523e4e86c6b (diff) | |
download | view.love-b418e60e6a4d4fa24d3b19c9485a98a4dbfe29da.tar.gz |
experiment: line cursor
-rw-r--r-- | text.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text.lua b/text.lua index 3b910e9..ca4a52c 100644 --- a/text.lua +++ b/text.lua @@ -86,7 +86,7 @@ end function Text.draw_cursor(x, y) love.graphics.setColor(1,0,0) - love.graphics.circle('fill', x,y+Line_height, 3) + love.graphics.line(x,y, x,y+Line_height) love.graphics.setColor(0,0,0) Cursor_x = x Cursor_y = y+Line_height |