Permalink
Browse files

patch 8.0.1264: terminal debugger gets stuck in small window

Problem:    Terminal debugger gets stuck in small window.
Solution:   Add "-quiet" to the gdb command. (Christian Brabandt, closes #2154)
  • Loading branch information...
brammool committed Nov 4, 2017
1 parent 5a73e0c commit c3632516303842244442f354734e54a403ec4b50
Showing with 4 additions and 1 deletion.
  1. +2 −1 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
  2. +2 −0 src/version.c
@@ -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'),
View
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1264,
/**/
1263,
/**/

0 comments on commit c363251

Please sign in to comment.