tweak prompt text
This commit is contained in:
parent
be9bfa479f
commit
624c112d08
|
@ -52,7 +52,7 @@ ColorRegistry::ColorRegistry()
|
||||||
{ "Error", { Color::Black, Color::Red } },
|
{ "Error", { Color::Black, Color::Red } },
|
||||||
{ "StatusLine", { Color::Cyan, Color::Default } },
|
{ "StatusLine", { Color::Cyan, Color::Default } },
|
||||||
{ "StatusCursor", { Color::Black, Color::Cyan } },
|
{ "StatusCursor", { Color::Black, Color::Cyan } },
|
||||||
{ "Prompt", { Color::Cyan, Color::Blue} },
|
{ "Prompt", { Color::Yellow, Color::Default} },
|
||||||
}
|
}
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
|
@ -145,7 +145,7 @@ void do_swap_case(Context& context)
|
||||||
void do_command(Context& context)
|
void do_command(Context& context)
|
||||||
{
|
{
|
||||||
context.input_handler().prompt(
|
context.input_handler().prompt(
|
||||||
":", get_color("StatusLine"),
|
":", get_color("Prompt"),
|
||||||
std::bind(&CommandManager::complete, &CommandManager::instance(), _1, _2, _3),
|
std::bind(&CommandManager::complete, &CommandManager::instance(), _1, _2, _3),
|
||||||
[](const String& cmdline, PromptEvent event, Context& context) {
|
[](const String& cmdline, PromptEvent event, Context& context) {
|
||||||
if (event == PromptEvent::Validate)
|
if (event == PromptEvent::Validate)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user