bugfix: handle drawings when updating screen top

This commit is contained in:
Kartik K. Agaram 2022-08-11 19:35:12 -07:00
parent 9ac68d710b
commit d14e03d706
1 changed files with 1 additions and 0 deletions

View File

@ -922,6 +922,7 @@ end
function Text.populate_screen_line_starting_pos(State, line_index)
local line = State.lines[line_index]
if line.mode ~= 'text' then return end
local line_cache = State.line_cache[line_index]
if line_cache.screen_line_starting_pos then
return