diff options
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/main.rs | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -61,7 +61,7 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" [[package]] name = "bk" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "argh", @@ -1,6 +1,6 @@ [package] name = "bk" -version = "0.4.1" +version = "0.4.2" authors = ["James Campos <james.r.campos@gmail.com>"] edition = "2018" license = "MIT" 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; |