Skip to content

Commit

Permalink
fix: off by one
Browse files Browse the repository at this point in the history
  • Loading branch information
sminez committed Oct 26, 2024
1 parent b6236c4 commit cc9e06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/tui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl Tui {
.buffer_with_id(win.view.bufid)
.expect("valid buffer id");
rendered_rows.extend(self.render_window(b, win, col.n_cols, rng, cs));
rendered_rows.push(box_draw_str(&HLINE.repeat(col.n_cols), cs));
rendered_rows.push(box_draw_str(&HLINE.repeat(col.n_cols + 1), cs));
}
rendered_rows.truncate(screen_rows);

Expand Down

0 comments on commit cc9e06e

Please sign in to comment.