Differences From Artifact [eed361108a]:
- File src/OFStdIOStream.m — part of check-in [303014c878] at 2024-05-19 00:06:21 on branch trunk — OFStdIOStream: Fix some colors on 3DS (user: js, size: 13786) [annotate] [blame] [check-ins using] [more...]
To Artifact [4854e57444]:
- File
src/OFStdIOStream.m
— part of check-in
[1c2fe75e6e]
at
2024-05-05 19:04:03
on branch trunk
— OFStdIOStream: Add special case for column 0
Use "\r" instead of the ANSI escape code if the column is 0.
This fixes the output of the tests on 3DS. (user: js, size: 13633) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
569 570 571 572 573 574 575 | return; textcolor(code); #else if ((code = colorToANSI(color)) == -1) return; | < < < < < < < | 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 | return; textcolor(code); #else if ((code = colorToANSI(color)) == -1) return; [self writeFormat: @"\033[%um", code]; #endif } - (void)setBackgroundColor: (OFColor *)color { int code; |
︙ | ︙ |