Ability to remove print messages from the console

As a Roblox developer, it is currently too hard to create progress bars in the console.

There is currently no way to remove messages from the console, making things like this impossible:

I’d love an API to be able to remove messages from the console (with antiflicker/a replace method), for example

local LS = game:GetService("LogService")
			
local TotalToDo = 500
local Message = LS:PrintOut(`Updating... (0/{TotalToDo}, 0% complete)`)

for i = 1, TotalToDo do
	Message.Content = `Updating... ({i}/{TotalToDo}, {i/TotalToDo}% complete)`
	task.wait(.01)
end
			
task.delay(5, function()
	Message:Destroy()
end)
			
Message.Content = "Done!"

Additionally, built in functions for progress bars, spinners, etc would be nice (or even colored text :eyes:)

If Roblox is able to address this issue, it would improve my development experience by allowing me to create progress bars in the console.

13 Likes

This would really make the console feel more useful. You could make a printed message show certain values, such as the value of a variable for debugging.

2 Likes