Results 1 to 2 of 2

Thread: Clearing the console

  1. #1
    Peasant
    Join Date
    Jul 2007
    Posts
    6

    Default Clearing the console

    Hi,
    I've only recently stardted using ClanLib. So far, I've been able to figure everything out, but now I got stuck.

    How do I clear the console? I'm writing out some debug unformation every few cycles and would therefore like to clear the console so that it was better readable and wouldn't scroll like mad.

    I guess I can use something platform specific like system("cls") or some WinAPI stuff or something, but I also think that's not a good way to go. I could also print it on video-screen, but for now, I'd like to know if there's a way to clear the console window.

    thank you!

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Bergen, Norway
    Posts
    588

    Default

    There is no API to do this in ClanLib, I'm afraid.

Similar Threads

  1. Problems opening the console
    By nanoflower in forum Novashell Game Creation System
    Replies: 4
    Last Post: 07-18-2007, 12:25 AM
  2. Could ClanLib be ported to console?
    By CapAmerica in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 06-05-2007, 07:18 AM
  3. Console Problem - Doesn't want to open for me
    By webbear1000 in forum Novashell Game Creation System
    Replies: 4
    Last Post: 04-12-2007, 09:44 AM
  4. Novashell opens to console..
    By whisperstorm in forum Novashell Game Creation System
    Replies: 1
    Last Post: 03-15-2007, 04:22 AM
  5. When drawing text, crash while clearing the screen!?
    By Iori Branford in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 01-05-2007, 10:56 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •