scandum / tintin

TinTin++, aka tt++, is an extensible console MUD client.
https://tintin.mudhalla.net
GNU General Public License v3.0
199 stars 56 forks source link

The command language is automatically switched. #232

Closed CryAngel1970 closed 1 week ago

CryAngel1970 commented 1 week ago

I compiled it in cygwin. The command input state was initially in English. I pressed the key that switches the command input state to Korean and switched to Korean input mode. When I press Enter and try to input the command again, it switches to English input state. Every time I input a command, it switches to English, so I have to click the Korean/English switching button. Which part should I modify to fix this part until I click the Korean/English switching button?

scandum commented 1 week ago

To switch to Korean in tintin you'd have to use:

#config charset CP949

If your system is UTF8 and your mud is CP949, you can use:

#config charset CP949TOUTF8

If both your system and MUD uses UTF-8, you can use:

#config charset UTF-8
CryAngel1970 commented 1 week ago

Thank you for your quick response and attention.

It was a mintty.exe problem. I recompiled mintty and did it. In the config.c file, const config default_cfg .key_alpha_mode = false,