Changes in uspace/app/bdsh/input.c [eff10e03:36ab7c7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/input.c
reff10e03 r36ab7c7 1 1 /* 2 2 * Copyright (c) 2008 Tim Post 3 * Copyright (c) 2011 Jiri Svoboda4 3 * All rights reserved. 5 4 * … … 44 43 45 44 #include "config.h" 46 #include "compl.h"47 45 #include "util.h" 48 46 #include "scli.h" … … 170 168 } 171 169 172 rc = run_command( actual_cmd, usr, &new_iostate);170 rc = run_command(cmd, usr, &new_iostate); 173 171 174 172 finit_with_files: … … 228 226 int rc; 229 227 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); 231 233 232 234 rc = tinput_read(tinput, &str); … … 261 263 } 262 264 263 tinput_set_compl_ops(tinput, &compl_ops);264 265 265 return 0; 266 266 }
Note:
See TracChangeset
for help on using the changeset viewer.