Skip to content

Commit 30f8005

Browse files
committed
doc: Fix doc comments for move_cursor_{left,right}.
1 parent 5667759 commit 30f8005

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
@@ -410,13 +410,13 @@ impl Term {
410410
move_cursor_down(self, n)
411411
}
412412

413-
/// Move the cursor left `n` lines
413+
/// Move the cursor `n` characters to the left
414414
#[inline]
415415
pub fn move_cursor_left(&self, n: usize) -> io::Result<()> {
416416
move_cursor_left(self, n)
417417
}
418418

419-
/// Move the cursor down `n` lines
419+
/// Move the cursor `n` characters to the right
420420
#[inline]
421421
pub fn move_cursor_right(&self, n: usize) -> io::Result<()> {
422422
move_cursor_right(self, n)

0 commit comments

Comments
 (0)