Bluetooth config UI

Hey there,
I am having an esp32s3 and a round display by seed studio
ESP32S3 : Getting Started with Seeed Studio XIAO ESP32S3 Series | Seeed Studio Wiki
Display : Getting Started with Seeed Studio Round Display for XIAO | Seeed Studio Wiki

Now what I have done is using Squareline studio version 1.5.1
i have made a very basic UI in which there is a button the screen when I press it it scans all the BLE devices around it and then display it on the serial monitor of Arduino ide

now what I want is instead of displaying these on Arduino ide i want to display them on the screen, but I don't know what do I need to change at my code side as well as at my Squareline studio side.

You don't think code would interest forum helpers?

Sorry, my crystal ball is in for servicing.

the code has multiple files that is why i am not uploading it.

Change the code that displays the data on the Arduino IDE and instead send the data to the screen.

How do You do when compiling them? That's what helpers often do at first, and compile suggested changes.
This mystery will be difficult to solve.

First, create a label or textarea object on the screen.

Then, as @jremington says, in the button press event callback, instead of sending the text to the serial monitor, add the text to the object.

You can also set properties like scrollbars on the object.