aboutsummaryrefslogtreecommitdiff
path: root/miscutils/less.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/less.c')
-rw-r--r--miscutils/less.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index f869a9e82..d524b6c87 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -281,9 +281,9 @@ static void set_tty_cooked(void)
281 281
282/* Move the cursor to a position (x,y), where (0,0) is the 282/* Move the cursor to a position (x,y), where (0,0) is the
283 top-left corner of the console */ 283 top-left corner of the console */
284static void move_cursor(int line, int row) 284static void move_cursor(int line, int col)
285{ 285{
286 printf(ESC"[%u;%uH", line, row); 286 printf(ESC"[%u;%uH", line, col);
287} 287}
288 288
289static void clear_line(void) 289static void clear_line(void)