diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-11-10 14:35:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-11-10 14:35:18 +0100 |
commit | 72f4cc4a987d123c0ed909c85b9a05f65cef7202 (patch) | |
tree | 1bc60bc28234d1b7dd050f8b95bebb577da9b736 /src/screen.c | |
parent | e01f4f86cef7bed3cb99b26f9f57d86f6eb5fe1a (diff) |
patch 7.4.913v7.4.913
Problem: No utf-8 support for the hangul input feature.
Solution: Add utf-8 support. (Namsh)
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index b1af862d37..de9e04df68 100644 --- a/src/screen.c +++ b/src/screen.c @@ -10047,7 +10047,13 @@ showmode() if (gui.in_use) { if (hangul_input_state_get()) - MSG_PUTS_ATTR(" \307\321\261\333", attr); /* HANGUL */ + { + /* HANGUL */ + if (enc_utf8) + MSG_PUTS_ATTR(" \355\225\234\352\270\200", attr); + else + MSG_PUTS_ATTR(" \307\321\261\333", attr); + } } #endif #ifdef FEAT_INS_EXPAND |