tweak prompt text

This commit is contained in:
Maxime Coste 2013-04-06 13:07:04 +02:00
parent be9bfa479f
commit 624c112d08
2 changed files with 7 additions and 7 deletions

View File

@ -52,7 +52,7 @@ ColorRegistry::ColorRegistry()
{ "Error", { Color::Black, Color::Red } },
{ "StatusLine", { Color::Cyan, Color::Default } },
{ "StatusCursor", { Color::Black, Color::Cyan } },
{ "Prompt", { Color::Cyan, Color::Blue} },
{ "Prompt", { Color::Yellow, Color::Default} },
}
{}

View File

@ -145,7 +145,7 @@ void do_swap_case(Context& context)
void do_command(Context& context)
{
context.input_handler().prompt(
":", get_color("StatusLine"),
":", get_color("Prompt"),
std::bind(&CommandManager::complete, &CommandManager::instance(), _1, _2, _3),
[](const String& cmdline, PromptEvent event, Context& context) {
if (event == PromptEvent::Validate)