Skip to content

Fix `prompt_start_row` reset to 0 when opening a file without newline in

Codecov / codecov/patch succeeded Dec 23, 2023 in 0s

0.00% of diff hit (target 49.17%)

View this Pull Request on Codecov

0.00% of diff hit (target 49.17%)

Annotations

Check warning on line 85 in src/painting/painter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/painting/painter.rs#L85

Added line #L85 was not covered by tests

Check warning on line 158 in src/painting/painter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/painting/painter.rs#L154-L158

Added lines #L154 - L158 were not covered by tests

Check warning on line 161 in src/painting/painter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/painting/painter.rs#L161

Added line #L161 was not covered by tests

Check warning on line 423 in src/painting/painter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/painting/painter.rs#L422-L423

Added lines #L422 - L423 were not covered by tests

Check warning on line 10 in src/painting/prompt_lines.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/painting/prompt_lines.rs#L10

Added line #L10 was not covered by tests