Mercurial > vim
comparison src/screen.c @ 7208:2c00f6b312bf v7.4.913
commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 10 14:35:18 2015 +0100
patch 7.4.913
Problem: No utf-8 support for the hangul input feature.
Solution: Add utf-8 support. (Namsh)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Nov 2015 14:45:04 +0100 |
parents | 5ea5bd9c18d2 |
children | 9487ea110214 |
comparison
equal
deleted
inserted
replaced
7207:b5b56b0bbd3d | 7208:2c00f6b312bf |
---|---|
10045 #endif | 10045 #endif |
10046 #if defined(FEAT_HANGULIN) && defined(FEAT_GUI) | 10046 #if defined(FEAT_HANGULIN) && defined(FEAT_GUI) |
10047 if (gui.in_use) | 10047 if (gui.in_use) |
10048 { | 10048 { |
10049 if (hangul_input_state_get()) | 10049 if (hangul_input_state_get()) |
10050 MSG_PUTS_ATTR(" \307\321\261\333", attr); /* HANGUL */ | 10050 { |
10051 /* HANGUL */ | |
10052 if (enc_utf8) | |
10053 MSG_PUTS_ATTR(" \355\225\234\352\270\200", attr); | |
10054 else | |
10055 MSG_PUTS_ATTR(" \307\321\261\333", attr); | |
10056 } | |
10051 } | 10057 } |
10052 #endif | 10058 #endif |
10053 #ifdef FEAT_INS_EXPAND | 10059 #ifdef FEAT_INS_EXPAND |
10054 /* CTRL-X in Insert mode */ | 10060 /* CTRL-X in Insert mode */ |
10055 if (edit_submode != NULL && !shortmess(SHM_COMPLETIONMENU)) | 10061 if (edit_submode != NULL && !shortmess(SHM_COMPLETIONMENU)) |