Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/terminal.c

    rfeeac0d ra116f7f2  
    104104static void getterm(const char *svc, const char *app)
    105105{
    106         char term[LOC_NAME_MAXLEN];
    107         snprintf(term, LOC_NAME_MAXLEN, "%s/%s", LOCFS_MOUNT_POINT, svc);
    108        
    109         /* Wait for the terminal service to be ready */
    110         service_id_t service_id;
    111         int rc = loc_service_get_id(svc, &service_id, IPC_FLAG_BLOCKING);
    112         if (rc != EOK)
    113                 return;
    114        
    115         task_spawnl(NULL, APP_GETTERM, APP_GETTERM, "-w", term, app, NULL);
     106        task_spawnl(NULL, NULL, APP_GETTERM, APP_GETTERM, svc,
     107            LOCFS_MOUNT_POINT, "--msg", "--wait", "--", app, NULL);
    116108}
    117109
     
    194186        //        for full UTF-32 coverage.
    195187       
    196         uint16_t glyph = fb_font_glyph(field->ch);
     188        uint16_t glyph = fb_font_glyph(field->ch, NULL);
    197189       
    198190        for (unsigned int y = 0; y < FONT_SCANLINES; y++) {
     
    262254       
    263255        bool front_visibility =
    264             chargrid_get_cursor_visibility(term->frontbuf);
     256            chargrid_get_cursor_visibility(term->frontbuf) &&
     257            term->widget.window->is_focused;
    265258        bool back_visibility =
    266259            chargrid_get_cursor_visibility(term->backbuf);
Note: See TracChangeset for help on using the changeset viewer.