From 2fed0f87e60dfbd6d431b5b753d271fee7be97fd Mon Sep 17 00:00:00 2001 From: Stephen Broadley Date: Sun, 4 Aug 2024 22:02:18 +0100 Subject: [PATCH] corrected inner_area calculation --- helix-view/src/view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-view/src/view.rs b/helix-view/src/view.rs index 2c3130c22..1415e62b4 100644 --- a/helix-view/src/view.rs +++ b/helix-view/src/view.rs @@ -205,7 +205,7 @@ impl View { .area .clip_left(gutter_width + null_width) .clip_bottom(1) - .with_width(text_width.min(self.area.width)); + .with_width(text_width.min(self.area.width - gutter_width)); } }