mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
fix(termdebug): replace term_getline with getbufline #15598
Correct incomplete runtime file port in
79cbbd5179
This commit is contained in:
parent
79cbbd5179
commit
11289ad733
@ -263,7 +263,7 @@ func s:StartDebug_term(dict)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
for lnum in range(1, 200)
|
for lnum in range(1, 200)
|
||||||
if term_getline(s:gdbbuf, lnum) =~ 'startupdone'
|
if get(getbufline(s:gdbbuf, lnum), 0, '') =~ 'startupdone'
|
||||||
let try_count = 9999
|
let try_count = 9999
|
||||||
break
|
break
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user