stty: fix columns command. closes bug 791.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
d2c879da25
commit
9f5a577a32
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user