summaryrefslogtreecommitdiffstats
path: root/runtime/doc/change.txt
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-09-19 20:41:51 +0200
committerChristian Brabandt <cb@256bit.org>2023-09-19 20:45:07 +0200
commit476733f3d06876c7ac105e064108c973a57984d3 (patch)
treeb5da50a60e0150b41d97161f053cd4d0f0f003fc /runtime/doc/change.txt
parent1db151436541a3e64cdd5e3d9eb3ace1ce1e1ad0 (diff)
patch 9.0.1915: r_CTRL-C works differently in visual modev9.0.1915
Problem: r_CTRL-C works differently in visual mode Solution: Make r_CTRL-C behave consistent in visual mode in terminal and Windows GUI in visual mode, r CTRL-C behaves strange in Unix like environments. It seems to end visual mode, but still is waiting for few more chars, however it never seems to replace it by any characters and eventually just returns back into normal mode. In contrast in Windows GUI mode, r_CTRL-C replaces in the selected area all characters by a literal CTRL-C. Not sure why it behaves like this. It seems in the Windows GUI, got_int is not set and therefore behaves as if any other normal character has been pressed. So remove the special casing of what happens when got_int is set and make it always behave like in Windows GUI mode. Add a test to verify it always behaves like replacing in the selected area each selected character by a literal CTRL-C. closes: #13091 closes: #13112 Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/change.txt')
-rw-r--r--runtime/doc/change.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index a00049bef3..65da9a7c6b 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 9.0. Last change: 2023 Mar 07
+*change.txt* For Vim version 9.0. Last change: 2023 Sep 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -210,6 +210,7 @@ gR Enter Virtual Replace mode: Each character you type
*v_r*
{Visual}r{char} Replace all selected characters by {char}.
+ CTRL-C will be inserted literally.
*v_C*
{Visual}["x]C Delete the highlighted lines [into register x] and