mirror of
https://github.com/dschmenk/PLASMA.git
synced 2026-04-20 01:16:36 +00:00
Fix past last line redraw
This commit is contained in:
Binary file not shown.
Binary file not shown.
+4
-5
@@ -533,9 +533,9 @@ def drawrows(toprow, bottomrow)#0
|
||||
huns, tens = divmod(viewtop + toprow + 1, 100)
|
||||
tens, ones = divmod(tens, 10)
|
||||
for row = toprow to bottomrow
|
||||
conio:gotoxy(0, row)
|
||||
scrnrow = row + viewtop
|
||||
if scrnrow < numlines
|
||||
conio:gotoxy(0, row)
|
||||
if flags & gutter
|
||||
seperator = viewleft ?? '<' :: ' '
|
||||
if flags & selection
|
||||
@@ -556,12 +556,11 @@ def drawrows(toprow, bottomrow)#0
|
||||
strptr = txtlinbuf=>[scrnrow]
|
||||
numchars = ^strptr - viewleft
|
||||
if numchars >= viewwidth
|
||||
conio:putchars(viewwidth, strptr + viewleft + 1)
|
||||
else
|
||||
conio:putchars(numchars, strptr + viewleft + 1)
|
||||
conio:clear(cleol)
|
||||
numchars = viewwidth
|
||||
fin
|
||||
conio:putchars(numchars, strptr + viewleft + 1)
|
||||
fin
|
||||
conio:clear(cleol)
|
||||
next
|
||||
end
|
||||
def drawscrn#0
|
||||
|
||||
Reference in New Issue
Block a user