mirror of
				https://github.com/go-delve/delve.git
				synced 2025-11-01 03:42:59 +08:00 
			
		
		
		
	Add color to context output
This commit is contained in:
		| @ -236,10 +236,10 @@ func printcontext(p *proctl.DebuggedProcess) error { | |||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		if i == l { | 		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) | 		context = append(context, line) | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Derek Parker
					Derek Parker