mirror of
https://github.com/go-delve/delve.git
synced 2025-11-12 03:15:12 +08:00
Minor code cleanup
This commit is contained in:
@@ -250,8 +250,7 @@ func printcontext(p *proctl.DebuggedProcess) error {
|
|||||||
line = "\033[34m=>\033[0m" + line
|
line = "\033[34m=>\033[0m" + line
|
||||||
}
|
}
|
||||||
|
|
||||||
line = "\033[34m" + strconv.Itoa(i) + "\033[0m" + ": " + line
|
context = append(context, fmt.Sprintf("\033[34m%d\033[0m: %s", i, line))
|
||||||
context = append(context, line)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println(strings.Join(context, ""))
|
fmt.Println(strings.Join(context, ""))
|
||||||
|
|||||||
Reference in New Issue
Block a user