ObjFW  Diff

Differences From Artifact [2edbd17f16]:

To Artifact [4854e57444]:


641
642
643
644
645
646
647



648

649
650
651
652
653
654
655
641
642
643
644
645
646
647
648
649
650

651
652
653
654
655
656
657
658







+
+
+
-
+







{
	if (!self.hasTerminal)
		return;

#ifdef OF_MSDOS
	gotoxy(column + 1, wherey());
#else
	if (column == 0)
		[self writeString: @"\r"];
	else
	[self writeFormat: @"\033[%uG", column + 1];
		[self writeFormat: @"\033[%uG", column + 1];
#endif
}

- (void)setCursorPosition: (OFPoint)position
{
	if (position.x < 0 || position.y < 0)
		@throw [OFInvalidArgumentException exception];