Changeset a8b2b5b in mainline for console/console.c
- Timestamp:
- 2006-06-04T18:45:35Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ec9623d
- Parents:
- d32af35
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
console/console.c
rd32af35 ra8b2b5b 248 248 /* This call can preempt, but we are already at the end */ 249 249 sync_send_2(fb_info.phone, FB_DRAW_TEXT_DATA, 0, 0, NULL, NULL); 250 curs_visibility( 1);250 curs_visibility(conn->screenbuffer.is_cursor_visible); 251 251 } else { 252 curs_visibility(0);253 252 clrscr(); 254 253 … … 260 259 } 261 260 262 curs_visibility( 1);261 curs_visibility(conn->screenbuffer.is_cursor_visible); 263 262 } 264 263 } … … 381 380 set_style_col(arg1, arg2); 382 381 382 break; 383 case CONSOLE_CURSOR_VISIBILITY: 384 arg1 = IPC_GET_ARG1(call); 385 connections[consnum].screenbuffer.is_cursor_visible = arg1; 386 if (consnum == active_console) 387 curs_visibility(arg1); 383 388 break; 384 389 case CONSOLE_GETCHAR: … … 394 399 continue; 395 400 }; 396 keybuffer_pop(&(connections[consnum].keybuffer), ( char*)&arg1);401 keybuffer_pop(&(connections[consnum].keybuffer), (int *)&arg1); 397 402 398 403 break; … … 465 470 async_new_connection(phonehash, 0, NULL, keyboard_events); 466 471 467 sync_send_2(fb_info.phone, FB_CURSOR_GOTO, 0, 0, NULL, NULL);468 nsend_call(fb_info.phone, FB_CURSOR_VISIBILITY, 1);472 curs_goto(0,0); 473 curs_visibility(connections[active_console].screenbuffer.is_cursor_visible); 469 474 470 475 /* Register at NS */
Note:
See TracChangeset
for help on using the changeset viewer.