commit | 9f5a577a3241597cb5e7ba9f6df33c2e3c440e44 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Fri Dec 11 14:17:02 2009 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Fri Dec 11 14:17:02 2009 +0100 |
tree | 357e80554acabc44b00ef538581ff0caa8a28bce | |
parent | d2c879da256bee88f35ddf024d0bd46e3fd480d0 [diff] |
stty: fix columns command. closes bug 791. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/coreutils/stty.c b/coreutils/stty.c index 0485b80..776a16a 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c
@@ -1360,6 +1360,7 @@ #endif #ifdef TIOCGWINSZ case param_cols: + case param_columns: set_window_size(-1, xatoul_sfx(argnext, stty_suffixes)); break; case param_size: