V version: 0.1.22
OS: Linux
What did you do? Try to print a color that bash understands
What did you expect to see? The next text printed in that color
What did you see instead? This error "0 character in a string literal"
Can you provide your code?
here it is
println("\033[30;1m")
it also happens with the double backslash
you can take a look at the term module.
import term
fn main() {
println(term.red('red message'))
}
While that definitely works, there's a bug with the 0 char thing that has to be fixed.
ok thanks!
Fixed.