CmdLine

CmdLine is a Lazarus component, which extends the GUI input by the possibilities and strenghts of console input. The console is then an integrated part of the GUI and not just a combination of a text field and a separate single line input.

The component supports colored proportional fonts as well as monospace fonts. It can wrap at word and line boundaries. It also supports two variants of escape codes:

  • ANSI-Escape codes
  • CmdLine specific escape codes for dynamic space and lines
The special escape codes permit the output of structured data like tables with proportional fonts.

The component is tested on:

  • Linux and GTK
  • Windows and Win32-API

Screenshots

Example program

Output of the example program.