Mercurial > vim
comparison src/testdir/test_ex_mode.vim @ 29481:34bb46847ba0 v9.0.0082
patch 9.0.0082: cannot interrupt global command from command line
Commit: https://github.com/vim/vim/commit/3cfae39b087c2724991d385e5e8ee7d011aa8e99
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue Jul 26 17:48:13 2022 +0100
patch 9.0.0082: cannot interrupt global command from command line
Problem: Cannot interrupt global command from command line.
Solution: Reset got_int in another place. (closes https://github.com/vim/vim/issues/10739)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Jul 2022 19:00:03 +0200 |
parents | b43cb3fd0c7b |
children | ea38db8639eb |
comparison
equal
deleted
inserted
replaced
29480:44fddf8c1ea4 | 29481:34bb46847ba0 |
---|---|
154 call term_sendkeys(buf, "gQ") | 154 call term_sendkeys(buf, "gQ") |
155 call term_sendkeys(buf, "for i in range(1)\<CR>") | 155 call term_sendkeys(buf, "for i in range(1)\<CR>") |
156 call term_sendkeys(buf, "append\<CR>") | 156 call term_sendkeys(buf, "append\<CR>") |
157 call WaitForAssert({-> assert_match(': append', term_getline(buf, 5))}, 1000) | 157 call WaitForAssert({-> assert_match(': append', term_getline(buf, 5))}, 1000) |
158 call term_sendkeys(buf, "\<C-C>") | 158 call term_sendkeys(buf, "\<C-C>") |
159 " Wait for input to be flushed | |
159 call term_wait(buf) | 160 call term_wait(buf) |
160 call term_sendkeys(buf, "foo\<CR>") | 161 call term_sendkeys(buf, "foo\<CR>") |
161 call WaitForAssert({-> assert_match('foo', term_getline(buf, 5))}, 1000) | 162 call WaitForAssert({-> assert_match('foo', term_getline(buf, 5))}, 1000) |
162 call term_sendkeys(buf, ".\<CR>") | 163 call term_sendkeys(buf, ".\<CR>") |
163 call WaitForAssert({-> assert_match('.', term_getline(buf, 5))}, 1000) | 164 call WaitForAssert({-> assert_match('.', term_getline(buf, 5))}, 1000) |