mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-22 17:37:38 +00:00
@@ -265,7 +265,7 @@ while true do
|
|||||||
local new_width, new_height = term.getSize()
|
local new_width, new_height = term.getSize()
|
||||||
|
|
||||||
if new_width ~= width then
|
if new_width ~= width then
|
||||||
lines = word_wrap(contents, new_width)
|
lines, fg, bg = word_wrap(contents, new_width)
|
||||||
print_height = #lines
|
print_height = #lines
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user