ObjFW  Check-in [a13251499a]

Overview
Comment:Merge trunk into branch "gamecontroller"
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | gamecontroller
Files: files | file ages | folders
SHA3-256: a13251499a58bde6cebf11e8eb85cc58df21d8efef10946f981f19a70e62721a
User & Date: js on 2024-05-19 00:06:59
Other Links: branch diff | manifest | tags
Context
2024-05-19
00:11
Make game controller tests work on 3DS check-in: efeac48cc3 user: js tags: gamecontroller
00:06
Merge trunk into branch "gamecontroller" check-in: a13251499a user: js tags: gamecontroller
00:06
OFStdIOStream: Fix some colors on 3DS check-in: 303014c878 user: js tags: trunk
2024-05-18
12:06
OFGameController: Map - to Select and + to Start check-in: c28b5e5208 user: js tags: gamecontroller
Changes

Modified src/OFStdIOStream.m from [4854e57444] to [eed361108a].

569
570
571
572
573
574
575






576

577
578
579
580
581
582
583
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;