1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v.util: fix util.emanager.set_support_color

This commit is contained in:
Delyan Angelov
2020-07-24 08:31:05 +03:00
parent ec443c65a8
commit c2083203b3
2 changed files with 7 additions and 5 deletions

View File

@@ -39,8 +39,11 @@ pub fn new_error_manager() &EManager {
}
}
pub fn (mut e EManager) set_support_color(b bool) {
e.support_color = b
pub fn (e &EManager) set_support_color(b bool) {
unsafe {
mut me := e
me.support_color = b
}
}
fn bold(msg string) string {