Cube  Diff

Differences From Artifact [54ce1aa50b]:

To Artifact [73f6aa3e13]:


187
188
189
190
191
192
193
194
195
196
197






198
199
200
201
202
203
204
205
206
207
208
187
188
189
190
191
192
193




194
195
196
197
198
199
200
201
202

203
204
205
206
207
208
209







-
-
-
-
+
+
+
+
+
+



-







	{
		if (isdown) {
			switch (code) {
			case SDLK_RETURN:
				break;

			case SDLK_BACKSPACE:
			case SDLK_LEFT: {
				[commandbuf
				    deleteCharactersInRange:
				        OFMakeRange(commandbuf.length - 1, 1)];
			case SDLK_LEFT:
				if (commandbuf.length > 0)
					[commandbuf
					    deleteCharactersInRange:
					        OFMakeRange(
					            commandbuf.length - 1, 1)];

				resetcomplete();
				break;
			}

			case SDLK_UP:
				if (histpos)
					commandbuf =
					    [vhistory[--histpos] mutableCopy];
				break;