ComputerCraft Forums

ComputerCraft => Ask a Pro => Topic started by: arminlinzbauer on Jun 06, 2022, 02:51 PM

Title: How to scroll in CC terminal
Post by: arminlinzbauer on Jun 06, 2022, 02:51 PM
So this might be a stupid question, but I've literally googled for an hour to no avail - all I can find is how to code scrolling behavior for screen peripherals.

I just need to know how I can scroll the output of programs on the command line of a computer or turtle. Page Up/Down doesn't work, neither does scrolling the mouse wheel. There surely must be a way to do this?

Example: I go into the lua prompt and type turtle.inspect(). The output doesn't fit the terminal screen and I can't find a way to scroll up to see the rest of the output.
Title: How to scroll in CC terminal
Post by: Lupus590 on Jun 06, 2022, 03:23 PM
It's not something built into CC, it's something left to the user. Luckily someone else has done this for you, terminal scrolling is a feature of MBS.

You can find the install instructions for MBS here: https://github.com/SquidDev-CC/mbs#install