[Gambas-user] Can you clear the console from within gambas code?

Benoit Minisini gambas at ...1...
Sat Sep 20 23:26:55 CEST 2008


On samedi 20 septembre 2008, richard terry wrote:
> Can you clear the console from within gambas code?
>
> Wondered, as this would be useful for me at the moment whilst I'm tracking
> bugs.
>
> Regards
>
> Richard
>

You can't, but I can make the Editor translate CTRL+L characters into "clear 
text". 

Look at gb.qt/src/ext/CEditor.cpp line #233, you will see the different 
control characters that are interpreted by the editor. You must understand C 
of course.

Regards,

-- 
Benoit Minisini




More information about the User mailing list