提交 c4f79a36 编写于 作者: D Derek Parker

Move current line indicator

上级 d8ff93d8
......@@ -296,11 +296,12 @@ func printcontext(p *proctl.DebuggedProcess) error {
}
}
arrow := " "
if i == l {
line = "\033[34m=>\033[0m" + line
arrow = "=>"
}
context = append(context, fmt.Sprintf("\033[34m%d\033[0m: %s", i, line))
context = append(context, fmt.Sprintf("\033[34m%s %d\033[0m: %s", arrow, i, line))
}
} else {
fmt.Printf("Stopped at: 0x%x\n", regs.PC())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册