Text formatting library for terminal output