alx2cnsl is the console unit I wrote for one of my current projects, Alexland 2. Originally it was embedded into the game, but I thought that maybe someone would find it useful and decided to make it into a game-independent unit. That, and with added some extra customization options, I now release it for common use.

The unit provides a main class, TConsole, that can be used in programs using SDL and SDL_TTF for providing a console or chat interface. The class will process text, render it and draw when requested; also provides some limited capabilities for reading text from SDL events.

There is still much to do to in terms of customization, but the thing clearly is usable as it is now.

Screenshot:

Above screenshot uses RENDER_BLEND5 render mode, with active BackBoxes.

Download: here

Zip contains the source code and documentation in HTML format.