public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d6cc2c
)
stty: struct winsz is needed
author
Alan Cox
<alan@linux.intel.com>
Wed, 31 Aug 2016 00:23:23 +0000
(
01:23
+0100)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 31 Aug 2016 00:23:23 +0000
(
01:23
+0100)
Applications/util/stty.c
patch
|
blob
|
history
diff --git
a/Applications/util/stty.c
b/Applications/util/stty.c
index
53260be
..
70429c9
100644
(file)
--- a/
Applications/util/stty.c
+++ b/
Applications/util/stty.c
@@
-90,6
+90,9
@@
char *prog_name;
struct termios termios;
int column= 0, max_column=80; /* Assume 80 character terminals. */
+#ifdef TIOCGWINSZ
+struct winsize winsize;
+#endif
void main(int argc, char *argv[]);
void report(int flags);