CC: Tweaked

CC: Tweaked

57M Downloads

rom/programs/help.lua help viewer errors upon resizing the terminal

trollbreeder opened this issue ยท 0 comments

commented

Minecraft Version

1.16.x

Version

ComputerCraft 1.97.0 (CCEmuX 1.0.0)

Details

When resizing the term on the help viewer (the one that appears when the topic is bigger than the screen), it errors:
help.lua:211: Arguments must be the same length
I recognize this as a blit fail, as that's basically the only function that requires same length strings.
Click here to view rom/programs/help.lua line 211

How to reproduce:
Step 1. Have a small terminal that doesnt fit an entire topic at once. Something like 32x22
Step 2. Run the help command for that topic, for example help programming
image
Step 3. Resize the terminal. For example, changing the size of the window of the help program in a multitasking OS.
Step 4. Error! Topmost line contains the error message
image