diff options
| author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-09-25 10:30:20 -0300 |
|---|---|---|
| committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-10-01 15:22:48 -0300 |
| commit | 1143b416ab7d8bb1707dab2be2cd9e191f9a03e4 (patch) | |
| tree | a244c0f5a5b8845b4b8d1dc55ef58420ae720658 /src/nvim/ex_getln.c | |
| parent | c1edd0799000956b8bd23cbc49a4b015e117879e (diff) | |
| download | rneovim-1143b416ab7d8bb1707dab2be2cd9e191f9a03e4.tar.gz rneovim-1143b416ab7d8bb1707dab2be2cd9e191f9a03e4.tar.bz2 rneovim-1143b416ab7d8bb1707dab2be2cd9e191f9a03e4.zip | |
tui: Don't use 'pastetoggle' for automatic pasting
Add a new special key that can be used by UIs to toggle the 'paste' option and
use it in the TUI instead of the user's 'pastetoggle' value.
Close #2843 #2092
Diffstat (limited to 'src/nvim/ex_getln.c')
| -rw-r--r-- | src/nvim/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index a9d371d0eb..9739090d7c 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -302,7 +302,7 @@ getcmdline ( input_enable_events(); do { c = safe_vgetc(); - } while (c == K_IGNORE); + } while (c == K_IGNORE || c == K_PASTE); input_disable_events(); if (c == K_EVENT) { |
