Modified to use uglier but (I think) more widespread SGR sequences.