Spurious quote mark in command line when typing <C-R> (#9934)

Remove <C-R> special char after reading following chars
This commit is contained in:
Gabriel Cruz 2019-04-24 05:41:07 -03:00 committed by Björn Linse
parent eada8f5aaa
commit 8c6f5b7f92
2 changed files with 2 additions and 1 deletions

View File

@ -1389,6 +1389,7 @@ static int command_line_handle_key(CommandLineState *s)
}
}
}
ccline.special_char = NUL;
redrawcmd();
return command_line_changed(s);

View File

@ -983,7 +983,7 @@ describe('Expressions coloring support', function()
{EOB:~ }|
{EOB:~ }|
{EOB:~ }|
={SQ:"}{SB:<c0>}{SQ:"}{E:<c0>"}{SB:foo}{E:"}^" |
={SQ:"}{SB:<c0>}{SQ:"}{E:<c0>"}{SB:foo}{E:"}^ |
]])
end)
end)