]> skyeroc.xyz Git - dgamelaunch/commit
Blindly assume the user's terminal can do Unicode or be switched into it.
authorPasi Kallinen <paxed@alt.org>
Mon, 3 Oct 2011 15:34:01 +0000 (15:34 +0000)
committerPasi Kallinen <paxed@alt.org>
Mon, 3 Oct 2011 15:34:01 +0000 (15:34 +0000)
commitcc6cf14b6f8a107c41203212fa2f238f4da21664
treecf90ea95c370bc12aadeeabf77b67f6f16280fe6
parenteae0ddf649653531789005e01cb75b99e7ea57f2
Blindly assume the user's terminal can do Unicode or be switched into it.

    I expect this to work in 99% cases, and if it fails, there's probably no
    regression since I don't know of a terminal that can be easily switched to
    CP437 but doesn't support "\e%G".

    It would be better to check if the terminal uses Unicode and convert
    everything to ASCII, and I'll do that soon, but this version might be
    good enough for now.
    (Adam Borowski <kilobyte@angband.pl>)

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@600 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
dgamelaunch.c