diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-04 21:44:59 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-04 21:44:59 +0100 |
commit | c3632516303842244442f354734e54a403ec4b50 (patch) | |
tree | 478c430db142c19392ba377a3ac05299628ac0b3 /runtime/pack | |
parent | 5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8 (diff) | |
download | vim-git-c3632516303842244442f354734e54a403ec4b50.tar.gz |
patch 8.0.1264: terminal debugger gets stuck in small windowv8.0.1264
Problem: Terminal debugger gets stuck in small window.
Solution: Add "-quiet" to the gdb command. (Christian Brabandt, closes #2154)
Diffstat (limited to 'runtime/pack')
-rw-r--r-- | runtime/pack/dist/opt/termdebug/plugin/termdebug.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim index 229cc7a7a..a4dbf536a 100644 --- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim +++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim @@ -80,7 +80,8 @@ func s:StartDebug(cmd) let commpty = job_info(term_getjob(s:commbuf))['tty_out'] " Open a terminal window to run the debugger. - let cmd = [g:termdebugger, '-tty', pty, a:cmd] + " Add -quiet to avoid the intro message causing a hit-enter prompt. + let cmd = [g:termdebugger, '-quiet', '-tty', pty, a:cmd] echomsg 'executing "' . join(cmd) . '"' let gdbbuf = term_start(cmd, { \ 'exit_cb': function('s:EndDebug'), |