From f8f079882606247dcba6379dca20064bcffe65ef Mon Sep 17 00:00:00 2001 From: Tapasweni Pathak Date: Thu, 1 Aug 2019 19:04:18 +0530 Subject: [PATCH] Added information on WxH character (#2104) * Add information on WxH character * Add line and separate footnote --- doc/ConsoleHostSettings.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/ConsoleHostSettings.md b/doc/ConsoleHostSettings.md index 62a6a3dd2..0a4d84847 100644 --- a/doc/ConsoleHostSettings.md +++ b/doc/ConsoleHostSettings.md @@ -8,9 +8,9 @@ Settings in the Windows Console Host can be a bit tricky to understand. This is |---------------------------|-----------------------|--------------------------------------| |`FontSize` |Coordinate (REG_DWORD) |Size of font in pixels | |`FontFamily` |REG_DWORD |GDI Font family | -|`ScreenBufferSize` |Coordinate (REG_DWORD) |Size of the screen buffer in WxH characters | +|`ScreenBufferSize` |Coordinate (REG_DWORD) |Size of the screen buffer in WxH characters\*\* | |`CursorSize` |REG_DWORD |Cursor height as percentage of a single character | -|`WindowSize` |Coordinate (REG_DWORD) |Initial size of the window in WxH characters | +|`WindowSize` |Coordinate (REG_DWORD) |Initial size of the window in WxH characters\*\* | |`WindowPosition` |Coordinate (REG_DWORD) |Initial position of the window in WxH pixels (if not set, use auto-positioning) | |`WindowAlpha` |REG_DWORD |Opacity of the window (valid range: 0x4D-0xFF) | |`ScreenColors` |REG_DWORD |Default foreground and background colors | @@ -39,6 +39,10 @@ Settings in the Windows Console Host can be a bit tricky to understand. This is *: Only applies to the improved version of the Windows Console Host +**: WxH stands for Width by Height, it's the fact that things like a Window size +store the Width and Height values in the high and low word in the registry's +double word values. + ## The Settings Hierarchy Settings are persisted to a variety of locations depending on how they are modified and how the Windows Console Host was invoked: