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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user