Changeset bb14312 in mainline for uspace/lib/ui/src/ui.c


Ignore:
Timestamp:
2021-06-26T16:40:28Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1215db9
Parents:
69511176
Message:

Use hardware cursor in text mode

We extend GC with cursor control operations. This will also allow to
control the HW cursor when running display server in text mode in
the future (provided that we implement the missing bits in the rest
of the stack, i.e. in IPC GC and in the display server).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/ui.c

    r69511176 rbb14312  
    128128                        return EIO;
    129129
     130                console_cursor_visibility(console, false);
     131
    130132                /* ws == ui_ws_console */
    131133                rc = ui_create_cons(console, &ui);
     
    203205                if (ui->cgc != NULL)
    204206                        console_gc_delete(ui->cgc);
    205                 if (ui->console != NULL)
     207                if (ui->console != NULL) {
     208                        console_cursor_visibility(ui->console, true);
    206209                        console_done(ui->console);
     210                }
    207211                if (ui->display != NULL)
    208212                        display_close(ui->display);
Note: See TracChangeset for help on using the changeset viewer.