diff options
author | Canop <cano.petrole@gmail.com> | 2020-07-24 22:47:21 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-07-24 22:47:21 +0200 |
commit | 4cf0e4652780d4ace522e23b8f4c0ced378dd528 (patch) | |
tree | bdcbdd649762d277b318b00370ff877aea2e5012 /src/hex | |
parent | 222fe524189898193af766ad2addbd9acccfa943 (diff) |
display counts of lines in previewed files (matched/total)
Diffstat (limited to 'src/hex')
-rw-r--r-- | src/hex/hex_view.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/hex/hex_view.rs b/src/hex/hex_view.rs index 79d5af9..f383329 100644 --- a/src/hex/hex_view.rs +++ b/src/hex/hex_view.rs @@ -168,13 +168,13 @@ impl HexView { } } } - cw.fill(&styles.default, LONG_SPACE)?; - if is_thumb(y, scrollbar) { - w.queue(SetForegroundColor(scrollbar_fg))?; - w.queue(Print('▐'))?; - } else { - w.queue(Print(' '))?; - } + } + cw.fill(&styles.default, LONG_SPACE)?; + if is_thumb(y, scrollbar) { + w.queue(SetForegroundColor(scrollbar_fg))?; + w.queue(Print('▐'))?; + } else { + w.queue(Print(' '))?; } } Ok(()) |