Add File.getOrEnableAnsiEscapeSupport and use it
#20172
Merged
File.getOrEnableAnsiEscapeSupport and use it
#20172