Added proc to write a whole string to the terminal.
This commit is contained in:
parent
ba0e9982c9
commit
9535d367ef
@ -50,3 +50,7 @@ proc terminalWriteChar(writeChar: char) =
|
||||
inc(terminalRow)
|
||||
if(terminalColumn == vgaWidth): terminalColumn = 0
|
||||
if(terminalRow == vgaHeight): terminalRow = 0
|
||||
|
||||
proc terminalWrite(data: string) =
|
||||
for character in data:
|
||||
terminalWriteChar(character)
|
||||
|
Loading…
Reference in New Issue
Block a user