| ... | ... | @@ -306,6 +306,7 @@ const RED = "\x1b[31;1m"; |
| 306 | 306 | const GREEN = "\x1b[32;1m"; |
| 307 | 307 | const CYAN = "\x1b[36;1m"; |
| 308 | 308 | const WHITE = "\x1b[37;1m"; |
| 309 | const BOLD = "\x1b[1m"; |
| 309 | 310 | const DIM = "\x1b[2m"; |
| 310 | 311 | const RESET = "\x1b[0m"; |
| 311 | 312 | |
| ... | ... | @@ -476,8 +477,9 @@ pub const TTY = struct { |
| 476 | 477 | .Red => out_stream.writeAll(RED) catch return, |
| 477 | 478 | .Green => out_stream.writeAll(GREEN) catch return, |
| 478 | 479 | .Cyan => out_stream.writeAll(CYAN) catch return, |
| 479 | | .White, .Bold => out_stream.writeAll(WHITE) catch return, |
| 480 | .White => out_stream.writeAll(WHITE) catch return, |
| 480 | 481 | .Dim => out_stream.writeAll(DIM) catch return, |
| 482 | .Bold => out_stream.writeAll(BOLD) catch return, |
| 481 | 483 | .Reset => out_stream.writeAll(RESET) catch return, |
| 482 | 484 | }, |
| 483 | 485 | .windows_api => if (builtin.os.tag == .windows) { |
| ... | ... | @@ -629,7 +631,7 @@ fn printLineInfo( |
| 629 | 631 | comptime printLineFromFile: anytype, |
| 630 | 632 | ) !void { |
| 631 | 633 | nosuspend { |
| 632 | | tty_config.setColor(out_stream, .White); |
| 634 | tty_config.setColor(out_stream, .Bold); |
| 633 | 635 | |
| 634 | 636 | if (line_info) |*li| { |
| 635 | 637 | try out_stream.print("{s}:{d}:{d}", .{ li.file_name, li.line, li.column }); |