Use the Information color alias for auto info boxes
This commit is contained in:
parent
1d790541f5
commit
2125d95076
|
@ -37,7 +37,7 @@ bool show_auto_info_ifn(const String& info, const Context& context)
|
||||||
{
|
{
|
||||||
if (not context.options()["autoinfo"].get<bool>() or not context.has_ui())
|
if (not context.options()["autoinfo"].get<bool>() or not context.has_ui())
|
||||||
return false;
|
return false;
|
||||||
ColorPair col{ Colors::Black, Colors::Yellow };
|
ColorPair col = get_color("Information");
|
||||||
DisplayCoord pos = context.window().dimensions();
|
DisplayCoord pos = context.window().dimensions();
|
||||||
pos.column -= 1;
|
pos.column -= 1;
|
||||||
context.ui().info_show(info, pos , col, MenuStyle::Inline);
|
context.ui().info_show(info, pos , col, MenuStyle::Inline);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user