Skip to content

Commit 7250fd1

Browse files
committed
doc: Clarify doc comments for move_cursor_to and clear_last_lines.
1 parent 30f8005 commit 7250fd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/term.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ impl Term {
392392
terminal_size(self)
393393
}
394394

395-
/// Move the cursor to `x` and `y`
395+
/// Move the cursor to row `x` and column `y`.
396396
#[inline]
397397
pub fn move_cursor_to(&self, x: usize, y: usize) -> io::Result<()> {
398398
move_cursor_to(self, x, y)
@@ -430,7 +430,7 @@ impl Term {
430430
clear_line(self)
431431
}
432432

433-
/// Clear the last `n` lines.
433+
/// Clear the last `n` lines before the current line.
434434
///
435435
/// This positions the cursor at the beginning of the first line
436436
/// that was cleared.

0 commit comments

Comments
 (0)