aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Campos <james.r.campos@gmail.com>2020-07-14 04:17:34 -0700
committerJames Campos <james.r.campos@gmail.com>2020-07-14 04:17:34 -0700
commitd76699048de8057c25cca693af5ae471d2569696 (patch)
tree2e642c29bc99647f158985e2112becb2dd318afc /src
parent9917ae2ac7620b9475f4a81c605bf962b033b68f (diff)
downloadbk-d76699048de8057c25cca693af5ae471d2569696.tar.gz
0.4.2
Diffstat (limited to 'src')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index e1b2e13..1b7269f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -304,6 +304,7 @@ impl View for Page {
let c = bk.chap();
let line_end = min(bk.line + bk.rows, c.lines.len());
+ // XXX does not pick up combined bold italic state if both attributes start above screen
let attrs = {
let text_start = c.lines[bk.line].0;
let text_end = c.lines[line_end - 1].1;