adjust imperative shell to use xyz coordinates for position, instead of simply xy; need to ensure the functional core code outputs a vector in this format too

This commit is contained in:
2025-09-11 01:43:23 +01:00
parent 781691060c
commit 2e0f749229
4 changed files with 10 additions and 17 deletions

View File

@@ -40,12 +40,10 @@ struct
val textAcc = Vector.concat textAcc
val bgAcc = Vector.concat bgAcc
val textMsg = REDRAW_TEXT textAcc
val cursorMsg = REDRAW_CURSOR cursorAcc
val bgMsg = REDRAW_BG bgAcc
val vec = Vector.concat [textAcc, bgAcc, cursorAcc]
val drawMsg = DRAW_TEXT vec
in
DRAW bgMsg :: DRAW textMsg :: DRAW cursorMsg :: msgs
DRAW drawMsg :: msgs
end
(* builds text from a string with char-wrap.