3457F / 3303F-Off-Season-FR

0 stars 0 forks source link

Format Terminal Output! #5

Open CodeMyGame1 opened 5 months ago

CodeMyGame1 commented 5 months ago

Problem: Currently, all terminal output is the same bland text. It's hard to read, and it takes a bit of time before information can be gleaned from it. Significance: Colorizing terminal output demarcates different sections and types of data (such as increases/decreases in values, which can be colored green and red, respectively, or warnings/alerts, which can be colored yellow and orange, respectively) Solution: I propose a separate class that stores all the ANSI escape sequences for different types of effects (ideally not just colorizing, but certain markdown effects like underlining, italicizing, and bolding!). This class will also have functions that takes in text and returns the formatted version with certain ANSI codes included. This is so it can be used by other classes.