Pascal utils for terminal drawing