Windows 8.1 terminal drawing bug fixed
This bug affected all Windows 8.1 users that used Remote Terminal either with the on-screen virtual keyboard or in snapped mode and caused the terminal screen to turn black every second key press or focus change.
Some DirectX API is behaving a bit different on Windows 8.1 than it did on Windows 8 but actually still in accordance with the documentation. My code just did not handle the new situation correctly.
I'm really sorry for any problems this has caused!
Full CJK character support
I have extended the terminal emulation code to correctly handle full-width CJK characters. Additionally I have added two configurable fonts to the app, which may be of special interest to the CJK users: KaiTi and SimSun. Those two fonts are also the only ones to provide a correct "copy mode" with a mixture of full-width CJK and normal half-width characters because only in those two fonts are full-width characters exactly double the width of half-width characters.
- Modified the TextBoxes on the ConnectionDataForm for better user experience (turned off text prediction for host and username, set InputScope to Number for the port).
- Fixed the space characters in the copy mode (they are 0x20 again instead of non-breaking space)
The most notable change in the upcoming Windows 8.1 build will be support of the new view states. While Windows 8 had either full-screen, "snapped" (320 pixel width at the left or right edge of the screen) and "fill" (the remaining screen next to a snapped app) view states, Windows 8.1 lets users smoothly resize app windows down to an app-defined minimum width and also display more than two apps at once, if the screen size allows it.
The current Windows 8 build of the app will look a bit awkward if sized somewhere between 320 pixels width and the previous "fill" view state because it will always be displayed only 320 pixels wide, like any other app running in Windows 8 compatibility mode on Windows 8.1.
Thanks to all of you for your patience!