88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
[of_stdout eraseLine];
[of_stdout writeString: @"World!"];
[OFThread sleepForTimeInterval: 2];
[of_stdout clear];
[OFThread sleepForTimeInterval: 2];
[of_stdout setCursorPosition: OFMakePoint(5, 3)];
[of_stdout writeString: @"Text at (5, 3)"];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFMakePoint(-2, 0)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFMakePoint(2, 0)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFMakePoint(0, -2)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFMakePoint(0, 2)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFMakePoint(1, 1)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFMakePoint(-1, -1)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setCursorColumn: 2];
[OFThread sleepForTimeInterval: 2];
[of_stdout reset];
|
|
|
|
|
|
|
|
|
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
[of_stdout eraseLine];
[of_stdout writeString: @"World!"];
[OFThread sleepForTimeInterval: 2];
[of_stdout clear];
[OFThread sleepForTimeInterval: 2];
[of_stdout setCursorPosition: OFPointMake(5, 3)];
[of_stdout writeString: @"Text at (5, 3)"];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFPointMake(-2, 0)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFPointMake(2, 0)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFPointMake(0, -2)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFPointMake(0, 2)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFPointMake(1, 1)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setRelativeCursorPosition: OFPointMake(-1, -1)];
[OFThread sleepForTimeInterval: 2];
[of_stdout setCursorColumn: 2];
[OFThread sleepForTimeInterval: 2];
[of_stdout reset];
|