diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/client.cc | 3 | ||||
| -rw-r--r-- | src/face_registry.cc | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/client.cc b/src/client.cc index 5d6cee62..ae8f83a8 100644 --- a/src/client.cc +++ b/src/client.cc @@ -278,7 +278,8 @@ void Client::redraw_ifn() if (m_ui_pending & InfoShow and m_info.ui_anchor) m_ui->info_show(m_info.title, m_info.content, *m_info.ui_anchor, - faces["Information"], m_info.style); + faces[(is_inline(m_info.style) || m_info.style == InfoStyle::MenuDoc) + ? "InlineInformation" : "Information"], m_info.style); if (m_ui_pending & InfoHide) m_ui->info_hide(); diff --git a/src/face_registry.cc b/src/face_registry.cc index 31590b72..7364cc2a 100644 --- a/src/face_registry.cc +++ b/src/face_registry.cc @@ -191,6 +191,7 @@ FaceRegistry::FaceRegistry() { "MenuBackground", {Face{ Color::Blue, Color::White }} }, { "MenuInfo", {Face{ Color::Cyan, Color::Default }} }, { "Information", {Face{ Color::Black, Color::Yellow }} }, + { "InlineInformation", {Face{}, "Information"} }, { "Error", {Face{ Color::Black, Color::Red }} }, { "DiagnosticError", {Face{ Color::Red, Color::Default }} }, { "DiagnosticWarning", {Face{ Color::Yellow, Color::Default }} }, |
