projects
/
mes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d45c64
)
mescc: Mes C Library: Support GNU Bash: Add struct winsize.
author
Jan Nieuwenhuizen
<janneke@gnu.org>
Sat, 6 Jul 2019 09:25:02 +0000
(11:25 +0200)
committer
Jan Nieuwenhuizen
<janneke@gnu.org>
Sat, 6 Jul 2019 09:25:02 +0000
(11:25 +0200)
* include/termio.h (struct winsize): New type.
include/termio.h
patch
|
blob
|
history
diff --git
a/include/termio.h
b/include/termio.h
index 51cff8cc034b95efa0df761616829352b4db4a48..af6c628370c850055023ce77024c9626e0019c8b 100644
(file)
--- a/
include/termio.h
+++ b/
include/termio.h
@@
-49,6
+49,14
@@
#define CS8 0000060
#define PARENB 0000400
+struct winsize
+{
+ unsigned short ws_row;
+ unsigned short ws_col;
+ unsigned short ws_xpixel;
+ unsigned short ws_ypixel;
+};
+
struct termio
{
unsigned short c_iflag;