ct clears text

do ct will clear all text that was written.

do ct

It will clear all text written with write or type or button or menu, but it will not clear graphics or turtles made by new Turtle. See cg and cs to clear graphics or to clear the whole screen.

Saying ct by itself will not do anything, because our language only runs commands with at least two words: you need to use do ct.