mirror of
https://github.com/trudnai/Steve2.git
synced 2025-03-10 02:32:57 +00:00
Fixed 4 line Text screen position in Mixed mode
This commit is contained in:
parent
572977f5f8
commit
afc8c6d8d1
@ -448,7 +448,7 @@ class ViewController: NSViewController {
|
|||||||
// render an empty space to eiminate displaying text portion of the screen covered by graphics
|
// render an empty space to eiminate displaying text portion of the screen covered by graphics
|
||||||
let charDisposition = videoMode.col80 == 0 ? 1 : 2
|
let charDisposition = videoMode.col80 == 0 ? 1 : 2
|
||||||
for y in 0 ..< fromLines {
|
for y in 0 ..< fromLines {
|
||||||
self.txtArr[ y * (self.textCols * 2 + self.lineEndChars) + self.textCols * charDisposition] = "\n"
|
self.txtArr[ y * (self.textCols * charDisposition + self.lineEndChars) + self.textCols * charDisposition] = "\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user