From 860f5ce7d5f60ebf406798bea4e018cad5a0ee53 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sat, 6 Jul 2019 11:25:02 +0200 Subject: [PATCH] mescc: Mes C Library: Support GNU Bash: Add struct winsize. * include/termio.h (struct winsize): New type. --- include/termio.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/termio.h b/include/termio.h index 51cff8cc..af6c6283 100644 --- 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;