Add color to context output

This commit is contained in:
Derek Parker
2014-10-17 14:47:30 -05:00
parent 10dbc4beda
commit 83764affa6

View File

@ -236,10 +236,10 @@ func printcontext(p *proctl.DebuggedProcess) error {
}
if i == l {
line = "=>" + line
line = "\033[34m=>\033[0m" + line
}
line = strconv.Itoa(i) + ": " + line
line = "\033[34m" + strconv.Itoa(i) + "\033[0m" + ": " + line
context = append(context, line)
}