Mercurial > vim
comparison src/gui_w32.c @ 11410:db21cc7b40f0 v8.0.0589
patch 8.0.0589: :simalt still does not work
commit https://github.com/vim/vim/commit/a21ccb7a974a96550c5cd99c4633e166d2083172
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 29 17:40:22 2017 +0200
patch 8.0.0589: :simalt still does not work
Problem: :simalt still does not work.
Solution: Use K_NOP instead of K_IGNORE. (Christian Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 29 Apr 2017 17:45:04 +0200 |
parents | e2b34123c7dc |
children | 5a5709918a98 |
comparison
equal
deleted
inserted
replaced
11409:7b39aa183f2e | 11410:db21cc7b40f0 |
---|---|
2640 keys++; | 2640 keys++; |
2641 fill_typebuf = TRUE; | 2641 fill_typebuf = TRUE; |
2642 } | 2642 } |
2643 if (fill_typebuf) | 2643 if (fill_typebuf) |
2644 { | 2644 { |
2645 /* Put something in the typeahead buffer so that the message will get | 2645 /* Put a NOP in the typeahead buffer so that the message will get |
2646 * processed. */ | 2646 * processed. */ |
2647 key_name[0] = K_SPECIAL; | 2647 key_name[0] = K_SPECIAL; |
2648 key_name[1] = KS_EXTRA; | 2648 key_name[1] = KS_EXTRA; |
2649 key_name[2] = KE_IGNORE; | 2649 key_name[2] = KE_NOP; |
2650 key_name[3] = NUL; | 2650 key_name[3] = NUL; |
2651 typebuf_was_filled = TRUE; | 2651 typebuf_was_filled = TRUE; |
2652 (void)ins_typebuf(key_name, REMAP_NONE, 0, TRUE, FALSE); | 2652 (void)ins_typebuf(key_name, REMAP_NONE, 0, TRUE, FALSE); |
2653 } | 2653 } |
2654 } | 2654 } |