[MinGW-Notify] [mingw] #38187: update wincon.h

Back to archive index

MinGW Notification List mingw****@lists*****
Wed Apr 11 17:21:31 JST 2018


#38187: update wincon.h

  Open Date: 2018-04-11 10:21
Last Update: 2018-04-11 10:21

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38187
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38187

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2018-04-11 10:21 Updated by: osdn-mensch
 * New Ticket "update wincon.h" created


---------------------------------------------------------------------
Ticket Status:

      Reporter: osdn-mensch
         Owner: (None)
          Type: Feature Request
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

The current one seems very outdated.
It misses some older things (I was told that this is around since 2007) like the CONSOLE_SCREEN_BUFFER_INFOEX structure
 typedef struct _CONSOLE_SCREEN_BUFFER_INFOEX {   ULONG      cbSize;   COORD      dwSize;   COORD      dwCursorPosition;   WORD       wAttributes;   SMALL_RECT srWindow;   COORD      dwMaximumWindowSize;   WORD       wPopupAttributes;   BOOL       bFullscreenSupported;   COLORREF   ColorTable[16]; } CONSOLE_SCREEN_BUFFER_INFOEX, *PCONSOLE_SCREEN_BUFFER_INFOEX;and the newer COMMON_LVB_ defines for CHAR_INFO structure such as
 #ifndef COMMON_LVB_GRID_HORIZONTAL #define COMMON_LVB_GRID_HORIZONTAL      0x0400  /* Top horizontal */ #endif #ifndef COMMON_LVB_GRID_LVERTICAL #define COMMON_LVB_GRID_LVERTICAL       0x0800  /* Left vertical */ #endif #ifndef COMMON_LVB_GRID_RVERTICAL #define COMMON_LVB_GRID_RVERTICAL       0x1000  /* Right vertical */ #endif #ifndef COMMON_LVB_REVERSE_VIDEO #define COMMON_LVB_REVERSE_VIDEO        0x4000  /* Reverse foreground and background attribute */ #endif #ifndef COMMON_LVB_UNDERSCORE #define COMMON_LVB_UNDERSCORE   0x8000  /* Underscore */ #endifNote: all these are included in mingw-w64 since some time but I think the original should be updated, too :-)

-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38187
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38187




More information about the MinGW-Notify mailing list
Back to archive index