mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 18:57:18 +08:00 
			
		
		
		
	terminal: do not use escape codes on windows unless they are supported
This commit is contained in:
		| @ -42,7 +42,7 @@ func New(client service.Client, conf *config.Config) *Term { | ||||
| 		line:   liner.NewLiner(), | ||||
| 		client: client, | ||||
| 		cmds:   cmds, | ||||
| 		dumb:   strings.ToLower(os.Getenv("TERM")) == "dumb", | ||||
| 		dumb:   !supportsEscapeCodes(), | ||||
| 	} | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Alex Brainman
					Alex Brainman