Skip to content

Commit

Permalink
fix: forgot the virtual lines (quarto-dev#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
benlubas authored Jan 7, 2024
1 parent 27ae843 commit 3733aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rplugin/python3/molten/outputbuffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def build_output_text(self, shape, buf: int, virtual: bool) -> Tuple[List[str],
lines.pop()

lines.insert(0, self._get_header_text(self.output))
return lines, len(lines) - 1
return lines, len(lines) - 1 + virtual_lines

def show_virtual_output(self, anchor: Position) -> None:
if self.displayed_status == OutputStatus.DONE and self.virt_text_id is not None:
Expand Down

0 comments on commit 3733aa8

Please sign in to comment.