summaryrefslogtreecommitdiff
path: root/src/Term.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Term.zig')
-rw-r--r--src/Term.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Term.zig b/src/Term.zig
index cf94c6d5..441280ee 100644
--- a/src/Term.zig
+++ b/src/Term.zig
@@ -342,10 +342,10 @@ pub fn spanColor(f: *Filter, color: plain.Color, is_bg: bool) plain.Color {
// images as placements; which of the body's rows they stand under is the
// core's (src/ansi.zig).
-/// Its view's rows as cells in the theme's colours, through the theme's
-/// filter when the pane has it on.
-pub fn paint(s: *State, ink: *const Ink, palette: *FilterPalette, filtered: bool, cols: u16, cells: []Painted, rows: []PaintedRow) void {
- the().paint(s.impl, ink, palette, filtered, cols, cells, rows);
+/// Its view's rows from `first`, `rows.len` of them, as cells in the
+/// theme's colours, through the theme's filter when the pane has it on.
+pub fn paint(s: *State, ink: *const Ink, palette: *FilterPalette, filtered: bool, first: u16, cols: u16, cells: []Painted, rows: []PaintedRow) void {
+ the().paint(s.impl, ink, palette, filtered, first, cols, cells, rows);
}
/// Its kitty graphics over the body's rows, as placements.