Barely working ansi color codes parser but I _really_ don't like this one. Too much code to just get it to process correctly which means it'll be brittle as hell later.

This commit is contained in:
Zed A. Shaw 2024-11-01 00:40:42 -04:00
parent a44a9a04f9
commit f32b39afe2
9 changed files with 621 additions and 152 deletions

4
ansi_parser.hpp Normal file
View file

@ -0,0 +1,4 @@
#pragma once
#include <string_view>
bool parse_ansi(std::string_view codes);