stty: fix columns command. closes bug 791.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2009-12-11 14:17:02 +01:00
parent d2c879da25
commit 9f5a577a32

View File

@ -1360,6 +1360,7 @@ int stty_main(int argc UNUSED_PARAM, char **argv)
#endif
#ifdef TIOCGWINSZ
case param_cols:
case param_columns:
set_window_size(-1, xatoul_sfx(argnext, stty_suffixes));
break;
case param_size: