Ignore:
File:
1 edited

Legend:

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

    reff10e03 r36ab7c7  
    11/*
    22 * Copyright (c) 2008 Tim Post
    3  * Copyright (c) 2011 Jiri Svoboda
    43 * All rights reserved.
    54 *
     
    4443
    4544#include "config.h"
    46 #include "compl.h"
    4745#include "util.h"
    4846#include "scli.h"
     
    170168        }
    171169       
    172         rc = run_command(actual_cmd, usr, &new_iostate);
     170        rc = run_command(cmd, usr, &new_iostate);
    173171       
    174172finit_with_files:
     
    228226        int rc;
    229227       
    230         tinput_set_prompt(tinput, usr->prompt);
     228        console_flush(tinput->console);
     229        console_set_style(tinput->console, STYLE_EMPHASIS);
     230        printf("%s", usr->prompt);
     231        console_flush(tinput->console);
     232        console_set_style(tinput->console, STYLE_NORMAL);
    231233
    232234        rc = tinput_read(tinput, &str);
     
    261263        }
    262264
    263         tinput_set_compl_ops(tinput, &compl_ops);
    264 
    265265        return 0;
    266266}
Note: See TracChangeset for help on using the changeset viewer.