aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ui/browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/ui/browser.c')
-rw-r--r--tools/perf/util/ui/browser.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/perf/util/ui/browser.c b/tools/perf/util/ui/browser.c
index 29c68aee00df..8607efa13564 100644
--- a/tools/perf/util/ui/browser.c
+++ b/tools/perf/util/ui/browser.c
@@ -231,13 +231,15 @@ static void ui_browser__scrollbar_set(struct ui_browser *browser)
231 (browser->nr_entries - 1)); 231 (browser->nr_entries - 1));
232 } 232 }
233 233
234 SLsmg_set_char_set(1);
235
234 while (h < height) { 236 while (h < height) {
235 ui_browser__gotorc(browser, row++, col); 237 ui_browser__gotorc(browser, row++, col);
236 SLsmg_set_char_set(1); 238 SLsmg_write_char(h == pct ? SLSMG_DIAMOND_CHAR : SLSMG_CKBRD_CHAR);
237 SLsmg_write_char(h == pct ? SLSMG_DIAMOND_CHAR : SLSMG_BOARD_CHAR);
238 SLsmg_set_char_set(0);
239 ++h; 239 ++h;
240 } 240 }
241
242 SLsmg_set_char_set(0);
241} 243}
242 244
243static int __ui_browser__refresh(struct ui_browser *browser) 245static int __ui_browser__refresh(struct ui_browser *browser)