ObjFW  Diff

Differences From Artifact [eed361108a]:

To Artifact [4854e57444]:


569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
		return;

	textcolor(code);
#else
	if ((code = colorToANSI(color)) == -1)
		return;

# ifdef OF_NINTENDO_3DS
	if (code >= 90)
		[self writeFormat: @"\033[1;%um", code - 60];
	else
		[self writeFormat: @"\033[0;%um", code];
# else
	[self writeFormat: @"\033[%um", code];
# endif
#endif
}

- (void)setBackgroundColor: (OFColor *)color
{
	int code;








<
<
<
<
<
<

<







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;