aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-10-07 01:26:28 +0000
committerBlaž Hrastnik2021-11-29 02:00:28 +0000
commitc71c9f69e21a80c5c9c744bddbde7d5041da99a5 (patch)
tree8f9e09dcb2ab29681ea3bd2c848edae999204490 /helix-term
parent30171416cb5b801086da69566a82462fca16ea14 (diff)
TODO
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/ui/markdown.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/ui/markdown.rs b/helix-term/src/ui/markdown.rs
index 649703b5..ca8303dd 100644
--- a/helix-term/src/ui/markdown.rs
+++ b/helix-term/src/ui/markdown.rs
@@ -228,6 +228,7 @@ impl Component for Markdown {
return None;
}
let contents = parse(&self.contents, None, &self.config_loader);
+ // TODO: account for tab width
let max_text_width = (viewport.0 - padding).min(120);
let mut text_width = 0;
let mut height = padding;