Mercurial > vim
comparison src/testdir/test_terminal.vim @ 19633:dd3e5533a7d2 v8.2.0373
patch 8.2.0373: type of term_sendkeys() is unknown
Commit: https://github.com/vim/vim/commit/3a05ce63feae040cd817be289e84c2a7e653d59d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 11 19:30:01 2020 +0100
patch 8.2.0373: type of term_sendkeys() is unknown
Problem: Type of term_sendkeys() is unknown.
Solution: Just return zero. (closes https://github.com/vim/vim/issues/5762)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 11 Mar 2020 21:31:04 +0100 |
parents | 804322d6c6ba |
children | 4cce471fa537 |
comparison
equal
deleted
inserted
replaced
19632:182d7acd6737 | 19633:dd3e5533a7d2 |
---|---|
366 call term_wait(buf) | 366 call term_wait(buf) |
367 call term_sendkeys(buf, "\<C-C>") | 367 call term_sendkeys(buf, "\<C-C>") |
368 call term_wait(buf) | 368 call term_wait(buf) |
369 call term_sendkeys(buf, "exit\<CR>") | 369 call term_sendkeys(buf, "exit\<CR>") |
370 call term_wait(buf) | 370 call term_wait(buf) |
371 call term_sendkeys(buf, ":q\<CR>") | 371 let tsk_ret = term_sendkeys(buf, ":q\<CR>") |
372 | |
373 " check type of term_sendkeys() return value | |
374 echo type(tsk_ret) | |
375 | |
372 call StopVimInTerminal(buf) | 376 call StopVimInTerminal(buf) |
373 call delete('XTest_postponed') | 377 call delete('XTest_postponed') |
374 call delete('Xtext') | 378 call delete('Xtext') |
375 endfunc | 379 endfunc |
376 | 380 |