summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2021-09-08 09:51:43 +0900
committerdana <dana@dana.is>2022-02-12 07:22:15 -0600
commit9d20469c030ead700959fa3b95d7bc85bb9578a8 (patch)
tree880f4a1fe4fb9cb4d9bf34180846be4616c91353 /Test
parentf2ae864016340aed35270502aedbad6da9e6f1bf (diff)
downloadzsh-9d20469c030ead700959fa3b95d7bc85bb9578a8.tar.gz
zsh-9d20469c030ead700959fa3b95d7bc85bb9578a8.tar.xz
zsh-9d20469c030ead700959fa3b95d7bc85bb9578a8.zip
49377: fix segfault by 'bindkey -d' with reordered keymapnamtab
(cherry picked from commit 2a7945a900c8a1b1866ad31ee5e95db5b0ddb50a)
Diffstat (limited to 'Test')
-rw-r--r--Test/X03zlebindkey.ztst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/X03zlebindkey.ztst b/Test/X03zlebindkey.ztst
index 298d7df5d..e5aac7379 100644
--- a/Test/X03zlebindkey.ztst
+++ b/Test/X03zlebindkey.ztst
@@ -143,3 +143,18 @@
 >CURSOR: 18
 >BUFFER: echo $(( ##x ) ##x ) y
 >CURSOR: 22
+
+  bindkey -d
+  for name in a b c d e; bindkey -N $name
+  bindkey -d
+  bindkey -l
+0:delete all keymaps after expanding keymapnamtab
+>.safe
+>command
+>emacs
+>isearch
+>main
+>vicmd
+>viins
+>viopp
+>visual