about 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
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2021-09-08 09:51:43 +0900
commit2a7945a900c8a1b1866ad31ee5e95db5b0ddb50a (patch)
tree104fbaa1271df14eb77c7f6c9c07076cbde33ed7 /Test
parentbb61da36aaeeaa70413cdf5bc66d7a71194f93e5 (diff)
downloadzsh-2a7945a900c8a1b1866ad31ee5e95db5b0ddb50a.tar.gz
zsh-2a7945a900c8a1b1866ad31ee5e95db5b0ddb50a.tar.xz
zsh-2a7945a900c8a1b1866ad31ee5e95db5b0ddb50a.zip
49377: fix segfault by 'bindkey -d' with reordered keymapnamtab
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 d643b1ec9..3e299a337 100644
--- a/Test/X03zlebindkey.ztst
+++ b/Test/X03zlebindkey.ztst
@@ -141,3 +141,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