Skip to content

Instantly share code, notes, and snippets.

View jgardona's full-sized avatar
🔬

Júlio César de Brito Gardona jgardona

🔬
View GitHub Profile
@pakLebah
pakLebah / ansiCRT.pas
Last active October 2, 2024 13:15
ANSI code unit and demo program using Free Pascal.
unit ansiCRT;
(******************************************************************************
This unit is emulating classic Pascal's CRT unit text color management and
cursor movement using ANSI Escape Code sequence. Keyboard input handling &
screen windowing is not possible. For keyboard input, better use the FPC's
Keyboard unit.
ANSI Escape Code list taken from:
https://en.wikipedia.org/wiki/ANSI_escape_code