Make error messages more readable
This commit is contained in:
parent
7970835c8b
commit
363cdcede1
|
@ -43,7 +43,7 @@ class ParseState:
|
||||||
linesbefore = self.text[:position].split("\n")
|
linesbefore = self.text[:position].split("\n")
|
||||||
linesafter = self.text[position:].split("\n")
|
linesafter = self.text[position:].split("\n")
|
||||||
good = "\x1B[40;32m"
|
good = "\x1B[40;32m"
|
||||||
bad = "\x1B[40;31m"
|
bad = "\x1B[40;31;1m"
|
||||||
reset = "\x1B[0m"
|
reset = "\x1B[0m"
|
||||||
s = reset + message + "\n"
|
s = reset + message + "\n"
|
||||||
lines = []
|
lines = []
|
||||||
|
|
Loading…
Reference in New Issue