mirror of
https://github.com/sbrow/envr.git
synced 2026-06-27 18:48:33 -04:00
feat: Colorized console output.
This commit is contained in:
15
colors.odin
Normal file
15
colors.odin
Normal file
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import "core:terminal/ansi"
|
||||
|
||||
COLOR_HEADINGS ::
|
||||
ansi.CSI + ansi.FG_BRIGHT_GREEN + ";" + ansi.BOLD + ";" + ansi.UNDERLINE + ansi.SGR
|
||||
|
||||
COLOR_COMMANDS :: ansi.CSI + ansi.FG_BRIGHT_CYAN + ";" + ansi.BOLD + ansi.SGR
|
||||
|
||||
COLOR_EXAMPLE :: ansi.CSI + ansi.ITALIC + ansi.SGR
|
||||
|
||||
COLOR_FLAGS :: ansi.CSI + ansi.BOLD + ";" + ansi.FG_BRIGHT_WHITE + ansi.SGR
|
||||
|
||||
ANSI_RESET :: ansi.CSI + ansi.RESET + ansi.SGR
|
||||
|
||||
Reference in New Issue
Block a user