showconsolefont: Print adequate space chars
authorMichael Schutte <michi@uiae.at>
Mon, 18 May 2009 17:47:00 +0000 (19:47 +0200)
committerAlexey Gladkov <legion@altlinux.org>
Mon, 18 May 2009 22:32:42 +0000 (02:32 +0400)
commit084265e5f26d73b16dfd47093e07f59e3a84a700
treef7f82ed2c1a4feab41002ecd498aca909f5164e1
parentc3eac3e20920c14f1882920a0609fc3ec6d24ead
showconsolefont: Print adequate space chars

Figure out whether the console is in Unicode or XLATE mode to decide
whether to use a direct-to-font (U+F020) or a simple ASCII space
character, respectively.  This avoids showconsolefont’s output becoming
a mess, cf. <http://bugs.debian.org/528357>.

Signed-off-by: Michael Schutte <michi@uiae.at>
src/showconsolefont.c