summaryrefslogtreecommitdiffstats
path: root/test/drive_view_colors.cc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 04:48:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 04:48:35 +0000
commit207df6fc406e81bfeebdff7f404bd242ff3f099f (patch)
treea1a796b056909dd0a04ffec163db9363a8757808 /test/drive_view_colors.cc
parentReleasing progress-linux version 0.11.2-1~progress7.99u1. (diff)
downloadlnav-207df6fc406e81bfeebdff7f404bd242ff3f099f.tar.xz
lnav-207df6fc406e81bfeebdff7f404bd242ff3f099f.zip
Merging upstream version 0.12.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/drive_view_colors.cc')
-rw-r--r--test/drive_view_colors.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/drive_view_colors.cc b/test/drive_view_colors.cc
index f7b38c1..e806192 100644
--- a/test/drive_view_colors.cc
+++ b/test/drive_view_colors.cc
@@ -38,7 +38,7 @@ class test_colors : public view_curses {
public:
test_colors() : tc_window(nullptr) {}
- void do_update() override
+ bool do_update() override
{
auto& vc = view_colors::singleton();
int lpc;
@@ -68,7 +68,9 @@ public:
al.with_attr(
{line_range{8, 11}, VC_STYLE.value(text_attrs{A_REVERSE})});
test_colors::mvwattrline(this->tc_window, lpc, 0, al, lr);
- };
+
+ return true;
+ }
WINDOW* tc_window;
};