aboutsummaryrefslogtreecommitdiff
path: root/libbb/get_terminal_width_height.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/get_terminal_width_height.c')
-rw-r--r--libbb/get_terminal_width_height.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/get_terminal_width_height.c b/libbb/get_terminal_width_height.c
index 69f6a17e5..ef90463fb 100644
--- a/libbb/get_terminal_width_height.c
+++ b/libbb/get_terminal_width_height.c
@@ -2,7 +2,7 @@
2/* 2/*
3 * Determine the width and height of the terminal. 3 * Determine the width and height of the terminal.
4 * 4 *
5 * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org> 5 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@
30 30
31/* It is perfectly ok to pass in a NULL for either width or for 31/* It is perfectly ok to pass in a NULL for either width or for
32 * height, in which case that value will not be set. It is also 32 * height, in which case that value will not be set. It is also
33 * perfectly ok to have CONFIG_FEATURE_AUTOWIDTH disabled, in 33 * perfectly ok to have CONFIG_FEATURE_AUTOWIDTH disabled, in
34 * which case you will always get 80x24 */ 34 * which case you will always get 80x24 */
35void get_terminal_width_height(int fd, int *width, int *height) 35void get_terminal_width_height(int fd, int *width, int *height)
36{ 36{