mirror of
https://github.com/neovim/neovim
synced 2025-07-17 01:31:48 +00:00
fix(termdebug): replace term_getline with getbufline #15598
Correct incomplete runtime file port in
79cbbd5179
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user