Add more characters

This commit is contained in:
Nishi 2026-07-02 10:08:54 +09:00
commit 6eb5a5d80b
2 changed files with 5 additions and 1 deletions

View file

@ -253,6 +253,10 @@
{"XKE", "\245\366", ""}, {"XKE", "\245\366", ""},
{"X,", "\241\253", ""}, {"X,", "\241\253", ""},
{"X.", "\241\254", ""}, {"X.", "\241\254", ""},
{",", "\241\242", ""},
{".", "\241\243", ""},
{"[", "\216\242", ""},
{"]", "\216\243", ""},
{"~", "\217\242\267", ""}, {"~", "\217\242\267", ""},
{"A", "\244\242", ""}, {"A", "\244\242", ""},
{"I", "\244\244", ""}, {"I", "\244\244", ""},

View file

@ -132,7 +132,7 @@ void sj4_ime_key(Sj4Ime* ime, int key) {
goto reconvert; goto reconvert;
} }
} }
} else if('a' <= tolower(key) && tolower(key) <= 'z') { } else if(('a' <= tolower(key) && tolower(key) <= 'z') || key == '~' || key == ',' || key == '.' || key == '[' || key == ']') {
int i; int i;
if(ime->last != 0) comp(ime); if(ime->last != 0) comp(ime);