Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
metiftikci committed Sep 21, 2023
1 parent 3d73725 commit 2576c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/palette.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl Palette {
}

for y in 0..buffer.area.height {
let line = buffer.get_line_visible_text(y as usize);
let line = buffer.get_line_visible_text(buffer.scroll.y + y as usize);

palette.print(y + 1, 0, &line);
}
Expand Down

0 comments on commit 2576c61

Please sign in to comment.