Win32TTY: Fix using a console font with wide glyphs
authorBart House <bart@barthouse.com>
Sat, 21 Oct 2017 20:41:29 +0000 (13:41 -0700)
committerPasi Kallinen <paxed@alt.org>
Wed, 25 Oct 2017 07:59:11 +0000 (10:59 +0300)
commit6322aec82968089bb90759dd05ed6da7e0a79b18
tree6736c4ea71921ba249bccd5b069daae1a17b9825
parent3d2e59ecec49db8036296667ca29437898304308
Win32TTY: Fix using a console font with wide glyphs

Added support to detect when the current console font has glyphs
that are too wide and will cause rendering errors in the console.
If detected, we warn the user and change the code page to 437
and the font to Consolas. At exit, if we had changed the font
and code page then we will restore to the original font and code page.
include/rm.h
src/options.c
sys/winnt/nttty.c