Skip to content

Commit

Permalink
vimdll: Fix that some character cannot input on Linux
Browse files Browse the repository at this point in the history
After 8.1.1239, `更` cannot be input on Linux built with GUI and running
on console. The `gui.in_use` check is only needed on Windows.

Ref: vim#4318
  • Loading branch information
k-takata committed May 19, 2019
1 parent f5842c5 commit 6a3ee2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/getchar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1753,7 +1753,11 @@ vgetc(void)
buf[i] = vgetorpeek(TRUE);
if (buf[i] == K_SPECIAL
#ifdef FEAT_GUI
|| (gui.in_use && buf[i] == CSI)
|| (
# ifdef VIMDLL
gui.in_use &&
# endif
buf[i] == CSI)
#endif
)
{
Expand Down

0 comments on commit 6a3ee2c

Please sign in to comment.