mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
parent
69e7b664d8
commit
42e8774317
@ -346,7 +346,11 @@ g8 Print the hex values of the bytes used in the
|
||||
Only string variables can be used. After the
|
||||
redirection starts, if the variable is removed or
|
||||
locked or the variable type is changed, then further
|
||||
command output messages will cause errors.
|
||||
command output messages will cause errors. When using
|
||||
a local variable (l:var in a function or s:var in a
|
||||
script) and another `:redir` causes the current one to
|
||||
end, the scope might be different and the assignment
|
||||
fails.
|
||||
To get the output of one command the |execute()|
|
||||
function can be used instead of redirection.
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
"
|
||||
" Author: Bram Moolenaar
|
||||
" Copyright: Vim license applies, see ":help license"
|
||||
" Last Change: 2022 Jun 22
|
||||
" Last Change: 2022 Jun 24
|
||||
"
|
||||
" WORK IN PROGRESS - The basics works stable, more to come
|
||||
" Note: In general you need at least GDB 7.12 because this provides the
|
||||
@ -539,6 +539,7 @@ func TermDebugSendCommand(cmd)
|
||||
endif
|
||||
sleep 10m
|
||||
endif
|
||||
" TODO: should we prepend CTRL-U to clear the command?
|
||||
call chansend(s:gdb_job_id, a:cmd . "\r")
|
||||
if do_continue
|
||||
Continue
|
||||
|
Loading…
Reference in New Issue
Block a user