have cursor drawn now, but it is not appropriate size for character so have to fix that next
This commit is contained in:
@@ -328,9 +328,9 @@ struct
|
|||||||
val chrFun = Vector.sub (CozetteAscii.asciiTable, Char.ord chr)
|
val chrFun = Vector.sub (CozetteAscii.asciiTable, Char.ord chr)
|
||||||
val cursorAcc =
|
val cursorAcc =
|
||||||
if absIdx <> cursorPos then
|
if absIdx <> cursorPos then
|
||||||
buildCursor (posX, posY, fWindowWidth, fWindowHeight)
|
|
||||||
else
|
|
||||||
cursorAcc
|
cursorAcc
|
||||||
|
else
|
||||||
|
buildCursor (posX, posY, fWindowWidth, fWindowHeight)
|
||||||
in
|
in
|
||||||
if posX + xSpace < windowWidth then
|
if posX + xSpace < windowWidth then
|
||||||
let
|
let
|
||||||
|
|||||||
Reference in New Issue
Block a user