Subversion Repositories HelenOS-historic

Rev

Rev 1499 | Rev 1506 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1499 Rev 1504
Line 136... Line 136...
136
        screenbuffer_clear_line(scr, scr->top_line++);
136
        screenbuffer_clear_line(scr, scr->top_line++);
137
        ipc_call_async(fb_info.phone, FB_SCROLL, 1, NULL, NULL);
137
        ipc_call_async(fb_info.phone, FB_SCROLL, 1, NULL, NULL);
138
    }
138
    }
139
   
139
   
140
    scr->position_x = scr->position_x % scr->size_x;
140
    scr->position_x = scr->position_x % scr->size_x;
-
 
141
   
141
    scr->position_y = scr->position_y  % scr->size_y;
142
    if (console == active_console) 
142
    ipc_call_async_2(fb_info.phone, FB_CURSOR_GOTO, scr->position_y, scr->position_x, NULL, NULL);
143
        ipc_call_async_2(fb_info.phone, FB_CURSOR_GOTO, scr->position_y, scr->position_x, NULL, NULL);
143
   
144
   
144
}
145
}
145
 
146
 
146
 
147
 
147
/* Handler for keyboard */
148
/* Handler for keyboard */
Line 319... Line 320...
319
            /*FIXME: handle error */
320
            /*FIXME: handle error */
320
            return -1;
321
            return -1;
321
        }
322
        }
322
    }
323
    }
323
   
324
   
-
 
325
    ipc_call_async_2(fb_info.phone, FB_CURSOR_GOTO, 0, 0, NULL, NULL);
324
 
326
 
325
    if (ipc_connect_to_me(PHONE_NS, SERVICE_CONSOLE, 0, &phonehash) != 0) {
327
    if (ipc_connect_to_me(PHONE_NS, SERVICE_CONSOLE, 0, &phonehash) != 0) {
326
        return -1;
328
        return -1;
327
    };
329
    };
328
   
330