Changeset 9805cde in mainline for uspace/app/bdsh/input.c


Ignore:
Timestamp:
2009-01-01T13:31:23Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7122bc7
Parents:
666773c
Message:

Console color support overhaul. Create C library console interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/input.c

    r666773c r9805cde  
    3434#include <string.h>
    3535#include <io/stream.h>
     36#include <console.h>
    3637
    3738#include "config.h"
     
    165166        size_t len = 0;
    166167
     168        console_set_style(STYLE_EMPHASIS);
    167169        printf("%s", usr->prompt);
     170        console_set_style(STYLE_NORMAL);
     171
    168172        read_line(line, INPUT_MAX);
    169173        len = strlen(line);
Note: See TracChangeset for help on using the changeset viewer.