mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-26 23:44:58 -07:00
Begin work on adding colours to error messages on Windows Terminals
This commit is contained in:
@@ -289,6 +289,7 @@ struct BuildContext {
|
||||
bool ignore_warnings;
|
||||
bool warnings_as_errors;
|
||||
bool hide_error_line;
|
||||
bool has_ansi_terminal_colours;
|
||||
|
||||
bool ignore_lazy;
|
||||
bool ignore_llvm_build;
|
||||
@@ -1035,6 +1036,9 @@ gb_internal String get_fullpath_core(gbAllocator a, String path) {
|
||||
gb_internal bool show_error_line(void) {
|
||||
return !build_context.hide_error_line;
|
||||
}
|
||||
gb_internal bool has_ansi_terminal_colours(void) {
|
||||
return build_context.has_ansi_terminal_colours;
|
||||
}
|
||||
|
||||
gb_internal bool has_asm_extension(String const &path) {
|
||||
String ext = path_extension(path);
|
||||
|
||||
Reference in New Issue
Block a user