assert for a bug I saw a while ago but can no longer reproduce
I saw screen_top not at start of screen line, but at cursor location in middle of line.
This commit is contained in:
parent
34950353b9
commit
815c4f010a
1
main.lua
1
main.lua
|
@ -124,6 +124,7 @@ function App.draw()
|
||||||
for line_index,line in ipairs(Lines) do
|
for line_index,line in ipairs(Lines) do
|
||||||
line.y = nil
|
line.y = nil
|
||||||
end
|
end
|
||||||
|
assert(Screen_top1.line < Cursor1.line or (Screen_top1.line == Cursor1.line and Screen_top1.pos <= Cursor1.pos))
|
||||||
local y = 15
|
local y = 15
|
||||||
--? print('== draw')
|
--? print('== draw')
|
||||||
for line_index,line in ipairs(Lines) do
|
for line_index,line in ipairs(Lines) do
|
||||||
|
|
Loading…
Reference in New Issue