From 5baa21f79f3a2fbee8470a54e81ab2aa99770936 Mon Sep 17 00:00:00 2001 From: troido Date: Tue, 22 Sep 2020 14:07:43 +0200 Subject: charmap with character_width 2 will automatically convert halfwidth to fullwidth --- asciifarmclient/loaders.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'asciifarmclient/loaders.py') diff --git a/asciifarmclient/loaders.py b/asciifarmclient/loaders.py index 790f71a..1694a75 100644 --- a/asciifarmclient/loaders.py +++ b/asciifarmclient/loaders.py @@ -67,4 +67,7 @@ def loadCharmap(name): for template in templates: charmap.apply_json(template) + if charmap.character_width == 2: + charmap.make_wide() + return charmap -- cgit