Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 29, 2009, 10:43:43 PM (15 years ago)
Author:
rgrieder
Message:

Extended Shell line colouring in order to distinguish output from COUT, entered commands and hints.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/IOConsole.h

    r6179 r6180  
    8787        bool willPrintStatusLines();
    8888        void printInputLine();
    89         void printOutputLine(const std::string& line);
     89        void printOutputLine(const std::string& line, Shell::LineType type);
    9090        static void resetTerminalMode();
    9191
     
    102102        void writeText(const std::string& text, const COORD& pos, WORD attributes = FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED);
    103103        void createNewOutputLines(int lines);
    104         void printOutputLine(const std::string& line, const COORD& pos);
     104        void printOutputLine(const std::string& line, Shell::LineType type, const COORD& pos);
    105105
    106106        static inline COORD makeCOORD(int x, int y)
Note: See TracChangeset for help on using the changeset viewer.