diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2014-11-11 16:08:48 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2014-11-11 16:08:48 +0100 |
commit | d26c3c8fc54f50f8b55381cbbc1736b89c1eee5d (patch) | |
tree | 205526b7bd97121c07c79593b21be3642cad0423 /src/title.cpp | |
parent | 011738f65312c9ec81c490f170978dd851ce9500 (diff) |
window: fill background color on clearing to EOL
Diffstat (limited to 'src/title.cpp')
-rw-r--r-- | src/title.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/title.cpp b/src/title.cpp index 59853582..f2bdc0c8 100644 --- a/src/title.cpp +++ b/src/title.cpp @@ -47,14 +47,14 @@ void drawHeader() switch (Config.design) { case Design::Classic: - *wHeader << NC::XY(0, 0) << wclrtoeol << NC::Format::Bold << myScreen->title() << NC::Format::NoBold; + *wHeader << NC::XY(0, 0) << NC::TermManip::ClearToEOL << NC::Format::Bold << myScreen->title() << NC::Format::NoBold; *wHeader << Config.volume_color; *wHeader << NC::XY(wHeader->getWidth()-VolumeState.length(), 0) << VolumeState; *wHeader << NC::Color::End; break; case Design::Alternative: std::wstring title = myScreen->title(); - *wHeader << NC::XY(0, 3) << wclrtoeol; + *wHeader << NC::XY(0, 3) << NC::TermManip::ClearToEOL; *wHeader << NC::Format::Bold << Config.alternative_ui_separator_color; mvwhline(wHeader->raw(), 2, 0, 0, COLS); mvwhline(wHeader->raw(), 4, 0, 0, COLS); |