Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2009-11-29T00:42:51Z (12 years ago)
Author:
jirka <jirka@…>
Branches:
lfn, master
Children:
025759c, a1622091
Parents:
2e07d27e
Message:

Rewrite command-line input routine. Adds capability to seek, insert and delete (left/right arrow keys, home, end, delete).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/io/console.c

    r2e07d27e r19528516  
    9494}
    9595
     96int console_get_pos(int phone, int *col, int *row)
     97{
     98        ipcarg_t col_v;
     99        ipcarg_t row_v;
     100        int rc;
     101
     102        rc = async_req_0_2(phone, CONSOLE_GET_POS, &col_v, &row_v);
     103
     104        *col = (int) col_v;
     105        *row = (int) row_v;
     106        return rc;
     107}
     108
    96109void console_goto(int phone, int col, int row)
    97110{
Note: See TracChangeset for help on using the changeset viewer.